X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=3925efe8deb4089b653e7c2714af114fabf3b62d;hb=892b17237bb44630fa6f508c5bf85374a62def13;hp=552bec0463aa0cd1819995f19d016b331df5401e;hpb=9cf4b7ecee11202d9480e47f0565c8203a612b4b;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;