X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=blobdiff_plain;f=maintenance%2FdoMaintenance.php;h=f3fb32ce62348594ba3108334d0872c72e9acb44;hb=48f931b9cb0f4b53e84cfc090e4313f71a130941;hp=ad75c6b68c6212f46691f91e7d1a51ae19b6108d;hpb=67a299b06ceda2128f06a5d3c2ba9a87c96b577b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/doMaintenance.php b/maintenance/doMaintenance.php index ad75c6b68c..f3fb32ce62 100644 --- a/maintenance/doMaintenance.php +++ b/maintenance/doMaintenance.php @@ -34,7 +34,7 @@ if ( !defined( 'RUN_MAINTENANCE_IF_MAIN' ) ) { // Wasn't included from the file scope, halt execution (probably wanted the class) // If a class is using commandLine.inc (old school maintenance), they definitely // cannot be included and will proceed with execution -if ( !Maintenance::shouldExecute() && $maintClass != 'CommandLineInc' ) { +if ( !Maintenance::shouldExecute() && $maintClass != CommandLineInc::class ) { return; } @@ -69,7 +69,7 @@ if ( !defined( 'MW_SETUP_CALLBACK' ) ) { && ( $wgLocalisationCacheConf['store'] == 'db' || ( $wgLocalisationCacheConf['store'] == 'detect' && !$wgCacheDirectory ) ) ) { - $wgLocalisationCacheConf['storeClass'] = 'LCStoreNull'; + $wgLocalisationCacheConf['storeClass'] = LCStoreNull::class; } }