X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=blobdiff_plain;f=maintenance%2Fupdate.php;h=c780b6ae6b4eee949cdf9883ac16a422eef28144;hb=9688e5a6e4e0bc3fe714c077650ebcc553027b00;hp=e60efdb8b45912b5d922d3e38b30f0338d284586;hpb=8a95833baed3b8071fcbd8cd2bc8c3449409f665;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/update.php b/maintenance/update.php index e60efdb8b4..c780b6ae6b 100755 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -131,7 +131,7 @@ class UpdateMediaWiki extends Maintenance { // Check external dependencies are up to date if ( !$this->hasOption( 'skip-external-dependencies' ) ) { - $composerLockUpToDate = $this->runChild( 'CheckComposerLockUpToDate' ); + $composerLockUpToDate = $this->runChild( CheckComposerLockUpToDate::class ); $composerLockUpToDate->execute(); } else { $this->output( @@ -233,13 +233,13 @@ class UpdateMediaWiki extends Maintenance { # This needs to be disabled early since extensions will try to use the l10n # cache from $wgExtensionFunctions (T22471) $wgLocalisationCacheConf = [ - 'class' => 'LocalisationCache', - 'storeClass' => 'LCStoreNull', + 'class' => LocalisationCache::class, + 'storeClass' => LCStoreNull::class, 'storeDirectory' => false, 'manualRecache' => false, ]; } } -$maintClass = 'UpdateMediaWiki'; +$maintClass = UpdateMediaWiki::class; require_once RUN_MAINTENANCE_IF_MAIN;