From: Antoine Musso Date: Sat, 26 Mar 2011 12:43:04 +0000 (+0000) Subject: php 5.2.3+ allow us to pass full method names X-Git-Tag: 1.31.0-rc.0~31184 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=83fd8e8d904255d8fe3e5d2775b6702e7d9837a8;p=lhc%2Fweb%2Fwiklou.git php 5.2.3+ allow us to pass full method names reverts 83878 , per CR --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 2a959fbac7..35db5c8fa1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1534,9 +1534,9 @@ $wgObjectCaches = array( CACHE_DB => array( 'class' => 'SqlBagOStuff', 'table' => 'objectcache' ), CACHE_DBA => array( 'class' => 'DBABagOStuff' ), - CACHE_ANYTHING => array( 'factory' => array( 'ObjectCache', 'newAnything' ) ), - CACHE_ACCEL => array( 'factory' => array( 'ObjectCache', 'newAccelerator' ) ), - CACHE_MEMCACHED => array( 'factory' => array( 'ObjectCache', 'newMemcached' ) ), + CACHE_ANYTHING => array( 'factory' => 'ObjectCache::newAnything' ), + CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ), + CACHE_MEMCACHED => array( 'factory' => 'ObjectCache::newMemcached' ), 'eaccelerator' => array( 'class' => 'eAccelBagOStuff' ), 'apc' => array( 'class' => 'APCBagOStuff' ),