From: Tim Starling Date: Wed, 11 Oct 2006 08:12:15 +0000 (+0000) Subject: Bug 7474, CACHE_DB/CACHE_MEMCACHED confusion X-Git-Tag: 1.31.0-rc.0~55540 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=e64ea90020a0fa503bc20a89d4a915beb89c5f61;p=lhc%2Fweb%2Fwiklou.git Bug 7474, CACHE_DB/CACHE_MEMCACHED confusion --- diff --git a/includes/ObjectCache.php b/includes/ObjectCache.php index 2b26cf4efb..7796e1230c 100644 --- a/includes/ObjectCache.php +++ b/includes/ObjectCache.php @@ -60,9 +60,9 @@ function &wfGetCache( $inputType ) { } } - $wgCaches[CACHE_DB] = new MemCachedClientforWiki( + $wgCaches[CACHE_MEMCACHED] = new MemCachedClientforWiki( array('persistant' => $wgMemCachedPersistent, 'compress_threshold' => 1500 ) ); - $cache =& $wgCaches[CACHE_DB]; + $cache =& $wgCaches[CACHE_MEMCACHED]; $cache->set_servers( $wgMemCachedServers ); $cache->set_debug( $wgMemCachedDebug ); }