From 60053df278bc65499e01bf21f2854ddf7a208c2e Mon Sep 17 00:00:00 2001 From: Sergio Santoro Date: Wed, 8 Oct 2014 17:36:17 +0200 Subject: [PATCH] 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 --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ), -- 2.20.1