diff --git a/maintenance/CountFancyCaptchas.php b/maintenance/CountFancyCaptchas.php index 141d35015..19cf63893 100644 --- a/maintenance/CountFancyCaptchas.php +++ b/maintenance/CountFancyCaptchas.php @@ -36,7 +36,7 @@ require_once "$IP/maintenance/Maintenance.php"; class CountFancyCaptchas extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Counts the number of fancy aptchas in storage"; + $this->addDescription( "Counts the number of fancy aptchas in storage" ); $this->requireExtension( "FancyCaptcha" ); } diff --git a/maintenance/DeleteOldFancyCaptchas.php b/maintenance/DeleteOldFancyCaptchas.php index 9dc693d61..c6511ae28 100644 --- a/maintenance/DeleteOldFancyCaptchas.php +++ b/maintenance/DeleteOldFancyCaptchas.php @@ -36,7 +36,7 @@ require_once "$IP/maintenance/Maintenance.php"; class DeleteOldFancyCaptchas extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Deletes old fancy captchas from storage"; + $this->addDescription( "Deletes old fancy captchas from storage" ); $this->addOption( "date", 'Delete fancy captchas that were created before this date (e.g. 20170101000000)', diff --git a/maintenance/GenerateFancyCaptchas.php b/maintenance/GenerateFancyCaptchas.php index 3761096c4..cb8af3cea 100644 --- a/maintenance/GenerateFancyCaptchas.php +++ b/maintenance/GenerateFancyCaptchas.php @@ -52,7 +52,7 @@ class GenerateFancyCaptchas extends Maintenance { $this->addOption( "delete", "Delete the old captches" ); $this->addOption( "threads", "The number of threads to use to generate the images", false, true ); - $this->mDescription = "Generate new fancy captchas and move them into storage"; + $this->addDescription( "Generate new fancy captchas and move them into storage" ); $this->requireExtension( "FancyCaptcha" ); }