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' );
}