Return values from finalSetup() aren't evaluated
authorReedy <reedy@wikimedia.org>
Thu, 15 Aug 2013 22:51:26 +0000 (23:51 +0100)
committerReedy <reedy@wikimedia.org>
Thu, 15 Aug 2013 22:53:40 +0000 (22:53 +0000)
Not that parent::finalSetup() returns anything anyway...

Change-Id: I21cb5e13cc83297f24a30ef37859430b0fefb695

maintenance/rebuildLocalisationCache.php

index ee6ddbb..b7f306b 100644 (file)
@@ -61,7 +61,7 @@ class RebuildLocalisationCache extends Maintenance {
                # no l10n cache. Break the cycle by forcing $wgLanguageCode = 'en'.
                global $wgLanguageCode;
                $wgLanguageCode = 'en';
-               return parent::finalSetup();
+               parent::finalSetup();
        }
 
        public function execute() {