Commit e32e6ffb authored by catch's avatar catch
Browse files

Issue #2411689 by alexpott: Use a MemoryBackend in StorageComparer so that...

Issue #2411689 by alexpott: Use a MemoryBackend in StorageComparer so that configuration import validators don't have to reread data from disk or the db
parent 1c9ddc43
...@@ -201,4 +201,11 @@ public function removeBin() { ...@@ -201,4 +201,11 @@ public function removeBin() {
$this->cache = []; $this->cache = [];
} }
/**
* Prevents data stored in memory backends from being serialized.
*/
public function __sleep() {
return [];
}
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment