From a74d25b34c9009b1af426408a74382063ddb7909 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 7 Dec 2010 02:42:01 +0000 Subject: [PATCH] Fix breakage from r75542: FakeMaintenance needs to set at least $mSelf so when runChild() calls loadParamsAndArgs() it doesn't pass nothing and thus try to fall back on $argv. This breaks the web updater, where that is undefined. --- maintenance/Maintenance.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index daa9919d4d..2c96c5260a 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -1130,6 +1130,7 @@ abstract class Maintenance { } class FakeMaintenance extends Maintenance { + protected $mSelf = "FakeMaintenanceScript"; public function execute() { return; } -- 2.20.1