X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpurgeOldText.php;h=1b78c7d9d7a460644c9ca61d7459bc8e6d2dbdf0;hb=90845301542482bd4e502221e6485a7375193529;hp=49a31d70e2fa5a55870def779fb56327e6bcf60e;hpb=331bcf6ac9a5df389a0196ee71418d7620d34278;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeOldText.php b/maintenance/purgeOldText.php index 49a31d70e2..1b78c7d9d7 100644 --- a/maintenance/purgeOldText.php +++ b/maintenance/purgeOldText.php @@ -22,7 +22,7 @@ * @author Rob Church */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that purges old text records from the database. @@ -32,7 +32,7 @@ require_once( __DIR__ . '/Maintenance.php' ); class PurgeOldText extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Purge old text records from the database"; + $this->addDescription( 'Purge old text records from the database' ); $this->addOption( 'purge', 'Performs the deletion' ); }