From: Sergio Santoro Date: Wed, 8 Oct 2014 15:36:17 +0000 (+0200) Subject: Remove broken parameter 'table' in wgObjectCaches for CACHE_DB X-Git-Tag: 1.31.0-rc.0~13604 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=60053df278bc65499e01bf21f2854ddf7a208c2e;p=lhc%2Fweb%2Fwiklou.git Remove broken parameter 'table' in wgObjectCaches for CACHE_DB $wgObjectCaches in DefaultSettings.php had the useless parameter 'table' for CACHE_DB. SqlBagOStuff actually uses 'tableName' parameter, it already defaults to 'objectcache' so there's no need to write it again. Change-Id: I5fe6b7c5f4d46cc8642c42861bc7078b795f5fb1 --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 97ffcad882..de29f0d2ae 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2092,7 +2092,7 @@ $wgLanguageConverterCacheType = CACHE_ANYTHING; */ $wgObjectCaches = array( CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ), - CACHE_DB => array( 'class' => 'SqlBagOStuff', 'table' => 'objectcache' ), + CACHE_DB => array( 'class' => 'SqlBagOStuff' ), CACHE_ANYTHING => array( 'factory' => 'ObjectCache::newAnything' ), CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ),