From: Tyler Anthony Romeo Date: Mon, 11 Feb 2013 03:19:35 +0000 (-0500) Subject: (bug 44862) Fixed waitForSlave.php constructor. X-Git-Tag: 1.31.0-rc.0~20699 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=b2d0f8a8dc43be63b2bc888006f8a0d9d2d257d6;p=lhc%2Fweb%2Fwiklou.git (bug 44862) Fixed waitForSlave.php constructor. The Maintenance constructor sets up $IP, so all maintenance scripts must call the parent constructor. This fixes waitForSlave.php, which used to not do that. Change-Id: I7a2a50845805894d87bcae9de9289cae10f1f31f --- diff --git a/maintenance/waitForSlave.php b/maintenance/waitForSlave.php index 655be43d74..df83928b3f 100644 --- a/maintenance/waitForSlave.php +++ b/maintenance/waitForSlave.php @@ -31,6 +31,7 @@ require_once( __DIR__ . '/Maintenance.php' ); */ class WaitForSlave extends Maintenance { public function __construct() { + parent::__construct(); $this->addArg( 'maxlag', 'How long to wait for the slaves, default 10 seconds', false ); } public function execute() {