X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FdoMaintenance.php;h=3dcf12cef00d2b2ed6aaf347379bb93051898046;hb=70c9c09ea63db1e81a58ec8d7f80db4d79c47f10;hp=3bd508cbfe8326903072464b194ba64bf0c59158;hpb=565b65d5e4cc74fe80b8e524bfb08e412ff4af25;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/doMaintenance.php b/maintenance/doMaintenance.php index 3bd508cbfe..3dcf12cef0 100644 --- a/maintenance/doMaintenance.php +++ b/maintenance/doMaintenance.php @@ -90,15 +90,15 @@ if ( defined( 'MW_CONFIG_CALLBACK' ) ) { require $maintenance->loadSettings(); } -if ( $maintenance->getDbType() === Maintenance::DB_ADMIN && - is_readable( "$IP/AdminSettings.php" ) ) -{ +if ( $maintenance->getDbType() === Maintenance::DB_ADMIN + && is_readable( "$IP/AdminSettings.php" ) +) { require "$IP/AdminSettings.php"; } if ( $maintenance->getDbType() === Maintenance::DB_NONE ) { if ( $wgLocalisationCacheConf['storeClass'] === false && ( $wgLocalisationCacheConf['store'] == 'db' || ( $wgLocalisationCacheConf['store'] == 'detect' && !$wgCacheDirectory ) ) ) { - $wgLocalisationCacheConf['storeClass'] = 'LCStore_Null'; + $wgLocalisationCacheConf['storeClass'] = 'LCStoreNull'; } } $maintenance->finalSetup();