Right now it's impossible to extend Memcache due to some private methods.

Here's the simple fix.

CommentFileSizeAuthor
memcache-protected-methods.patch1.38 KBdixon_
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dixon_’s picture

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.

Berdir’s picture

As 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..

catch’s picture

Status: Needs review » Fixed

Looks fine to me, committed and pushed to 7.x-1.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

DamienMcKenna’s picture

Could this be backported to D6? I'll roll a patch if you'd be willing to accept it?

DamienMcKenna’s picture

Nemind, the D6 and D7 codebases are *completely* different.