From 83fd8e8d904255d8fe3e5d2775b6702e7d9837a8 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sat, 26 Mar 2011 12:43:04 +0000 Subject: [PATCH] php 5.2.3+ allow us to pass full method names reverts 83878 , per CR --- includes/DefaultSettings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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' ), -- 2.20.1