Merge "Convert JobQueueDB to using the WAN cache"
[lhc/web/wiklou.git] / includes / cache / MessageCache.php
index bcfa792..ae746e3 100644 (file)
@@ -154,7 +154,7 @@ class MessageCache {
                $this->mExpiry = $expiry;
 
                if ( $wgUseLocalMessageCache ) {
-                       $this->localCache = ObjectCache::newAccelerator( CACHE_NONE );
+                       $this->localCache = ObjectCache::getLocalServerInstance( CACHE_NONE );
                } else {
                        $this->localCache = wfGetCache( CACHE_NONE );
                }