From: Ostrzyciel Date: Tue, 25 Feb 2020 17:13:09 +0000 (+0100) Subject: updateCollation.php: fix PHP error X-Git-Tag: 1.34.1~11 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=23f99c4fd151d1cca6dc80461b6f6256e964338c updateCollation.php: fix PHP error Currently the updateCollation maintenance script throws an error when ran, as it calls MediaWikiServices before it's initialized. See the phab task for more details. Bug: T246127 Change-Id: Ib9d6b485b55760897ff5152b5d6f22b0d6a36daa --- diff --git a/maintenance/updateCollation.php b/maintenance/updateCollation.php index 9bcba7e344..86e3f5e7f1 100644 --- a/maintenance/updateCollation.php +++ b/maintenance/updateCollation.php @@ -44,12 +44,11 @@ class UpdateCollation extends Maintenance { public function __construct() { parent::__construct(); - $categoryCollation = $this->getConfig()->get( 'CategoryCollation' ); $this->addDescription( <<