r96119 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96118‎ | r96119 | r96120 >
Date:16:30, 2 September 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
CACHE_ANYTHING should work as well
Modified paths:
  • /trunk/extensions/Translate/MessageGroups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageGroups.php
@@ -878,11 +878,7 @@
879879 * Returns a cacher object.
880880 */
881881 protected static function getCache() {
882 - $cacher = wfGetCache( CACHE_MEMCACHED );
883 - if ( $cacher instanceof FakeMemCachedClient ) {
884 - $cacher = wfGetCache( CACHE_DB );
885 - }
886 - return $cacher;
 882+ return wfGetCache( CACHE_ANYTHING );
887883 }
888884
889885 /**

Status & tagging log