X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FwaitForSlave.php;h=28e1a5430bf1daaaa1f35da24e474bdb9ed07bbf;hb=709c614382c199b7d3c5fc5bdbd285d8d3a5f339;hp=655be43d7438a69b6d03e2e9d3416e1dc0652d78;hpb=8634014e86135d162595dd7d9f3a03a02f6fbb72;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/waitForSlave.php b/maintenance/waitForSlave.php index 655be43d74..28e1a5430b 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() { @@ -39,4 +40,4 @@ class WaitForSlave extends Maintenance { } $maintClass = "WaitForSlave"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;