X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdeleteOldRevisions.php;h=123163fb2b2286f1452c9cefde0da2568595d6fe;hb=4dc3ac1c375b3d2eb6172dfef8fdebe71b8c5f43;hp=f411148651596dc8f777c7bcb02383e90c138958;hpb=f875f3d31867067116641af987dea4511324e96b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/deleteOldRevisions.php b/maintenance/deleteOldRevisions.php index f411148651..123163fb2b 100644 --- a/maintenance/deleteOldRevisions.php +++ b/maintenance/deleteOldRevisions.php @@ -32,7 +32,7 @@ require_once __DIR__ . '/Maintenance.php'; class DeleteOldRevisions extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Delete old (non-current) revisions from the database"; + $this->addDescription( 'Delete old (non-current) revisions from the database' ); $this->addOption( 'delete', 'Actually perform the deletion' ); $this->addOption( 'page_id', 'List of page ids to work on', false ); }