http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96119
Revision: 96119
Author: nikerabbit
Date: 2011-09-02 16:30:11 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
CACHE_ANYTHING should work as well
Modified Paths:
--------------
trunk/extensions/Translate/MessageGroups.php
Modified: trunk/extensions/Translate/MessageGroups.php
===================================================================
--- trunk/extensions/Translate/MessageGroups.php 2011-09-02 16:11:56 UTC
(rev 96118)
+++ trunk/extensions/Translate/MessageGroups.php 2011-09-02 16:30:11 UTC
(rev 96119)
@@ -878,11 +878,7 @@
* Returns a cacher object.
*/
protected static function getCache() {
- $cacher = wfGetCache( CACHE_MEMCACHED );
- if ( $cacher instanceof FakeMemCachedClient ) {
- $cacher = wfGetCache( CACHE_DB );
- }
- return $cacher;
+ return wfGetCache( CACHE_ANYTHING );
}
/**
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs