From 23f99c4fd151d1cca6dc80461b6f6256e964338c Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Tue, 25 Feb 2020 18:13:09 +0100 Subject: [PATCH] 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 --- maintenance/updateCollation.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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( <<