X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FdumpIterator.php;h=e9a6bc58bfc449ac82087728d9e7d319b0fbaf0a;hp=707f4b3c8c93fc40d7b8734cbeae37944adc36ad;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hpb=51615ecf47528d1011ce6fefb1544073a07bdebc 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;