Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right now it's impossible to extend Memcache due to some private methods.
Here's the simple fix.
Comment | File | Size | Author |
---|---|---|---|
memcache-protected-methods.patch | 1.38 KB | dixon_ |
Comments
Comment #1
dixon_Just now I can't figure out what that last row change does or where it comes from. It seems to be a tricky line break or white space. The code and spacing between functions looks good.
Comment #2
BerdirAs discussed with catch, the plan is to split up these crazy huge and complex functions into separate things once the 7.x-1.x branch is *finally* stable.
However, nothing wrong with making them protected in the meantime I guess..
Comment #3
catchLooks fine to me, committed and pushed to 7.x-1.x.
Comment #5
DamienMcKennaCould this be backported to D6? I'll roll a patch if you'd be willing to accept it?
Comment #6
DamienMcKennaNemind, the D6 and D7 codebases are *completely* different.