Please sign in to comment.
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 #9081
- Loading branch information...