X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=e9a6bc58bfc449ac82087728d9e7d319b0fbaf0a;hb=d6ba90904c15d0fd8f1b84820a7d99678a1fd025;hp=707f4b3c8c93fc40d7b8734cbeae37944adc36ad;hpb=63c30080f550da8ddaad1b9522560f5279e2dda4;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/dumpIterator.php b/maintenance/dumpIterator.php index 707f4b3c8c..e9a6bc58bf 100644 --- a/maintenance/dumpIterator.php +++ b/maintenance/dumpIterator.php @@ -105,7 +105,7 @@ abstract class DumpIterator extends Maintenance { if ( $this->getDbType() == Maintenance::DB_NONE ) { global $wgUseDatabaseMessages, $wgLocalisationCacheConf, $wgHooks; $wgUseDatabaseMessages = false; - $wgLocalisationCacheConf['storeClass'] = 'LCStoreNull'; + $wgLocalisationCacheConf['storeClass'] = LCStoreNull::class; $wgHooks['InterwikiLoadPrefix'][] = 'DumpIterator::disableInterwikis'; } } @@ -185,5 +185,5 @@ class SearchDump extends DumpIterator { } } -$maintClass = "SearchDump"; +$maintClass = SearchDump::class; require_once RUN_MAINTENANCE_IF_MAIN;