mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Use Maintenance::addDescription
It is better to use a setter function than setting a property Change-Id: I64c133f00ea12cc5ba787c83ad3dee5f996baf15
This commit is contained in:
parent
4bebd22e3f
commit
cd4e0a5968
|
@ -13,7 +13,7 @@ require_once "$IP/maintenance/Maintenance.php";
|
|||
class FixOldLogEntries extends LoggedUpdateMaintenance {
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->mDescription = 'Fix old rows in logging which hold broken log_params';
|
||||
$this->addDescription( 'Fix old rows in logging which hold broken log_params' );
|
||||
|
||||
$this->addOption( 'verbose', 'Print some more debug info' );
|
||||
$this->addOption( 'dry-run', 'Perform a dry run' );
|
||||
|
|
Loading…
Reference in a new issue