Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(memcache): don't store a copy of $CONFIG in file objects
Since filestore objects keep a copy of $CONFIG as a property, this would get serialized with the ElggFile. We add a __sleep method to filter out this property when serializing, and __wakeup to reinitialize it. Fixes Elgg#9081
- Loading branch information