X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=3925efe8deb4089b653e7c2714af114fabf3b62d;hb=d6dcf23a8f22245e311d5582e4f9cd0f302e3738;hp=552bec0463aa0cd1819995f19d016b331df5401e;hpb=37751ee23e7b7019307eafe36f18c8450bf2e420;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 552bec0463..3925efe8de 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -498,7 +498,7 @@ abstract class Maintenance { */ public function getConfig() { if ( $this->config === null ) { - $this->config = ConfigFactory::getDefaultInstance()->makeConfig( 'main' ); + $this->config = MediaWikiServices::getInstance()->getMainConfig(); } return $this->config;