From: Chad Horohoe Date: Tue, 7 Dec 2010 02:42:01 +0000 (+0000) Subject: Fix breakage from r75542: FakeMaintenance needs to set at least $mSelf so when runChi... X-Git-Tag: 1.31.0-rc.0~33491 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=a74d25b34c9009b1af426408a74382063ddb7909;p=lhc%2Fweb%2Fwiklou.git 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. --- 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; }