X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2FgetLagTimes.php;h=c2c6958733a33975688796c1c0d523dd7b18c9a1;hb=85ee6b473eac9dee92bf9784c5672864ed760f4f;hp=68be9f172a1322c8c102179553de038382d7bd76;hpb=b114f5e1c197f704522f81f1ec5d855e7ee126ad;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/getLagTimes.php b/maintenance/getLagTimes.php index 68be9f172a..c2c6958733 100644 --- a/maintenance/getLagTimes.php +++ b/maintenance/getLagTimes.php @@ -21,7 +21,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that displays replication lag times. @@ -31,7 +31,7 @@ require_once( __DIR__ . '/Maintenance.php' ); class GetLagTimes extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Dump replication lag times"; + $this->addDescription( 'Dump replication lag times' ); } public function execute() { @@ -59,4 +59,4 @@ class GetLagTimes extends Maintenance { } $maintClass = "GetLagTimes"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;