From cd4e0a5968e12b355428c61ae9b3a9b3ccf65b03 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Mon, 19 Aug 2019 18:53:57 +0200 Subject: [PATCH] Use Maintenance::addDescription It is better to use a setter function than setting a property Change-Id: I64c133f00ea12cc5ba787c83ad3dee5f996baf15 --- maintenance/fixOldLogEntries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/fixOldLogEntries.php b/maintenance/fixOldLogEntries.php index 24ece8de7..c1b27f3db 100644 --- a/maintenance/fixOldLogEntries.php +++ b/maintenance/fixOldLogEntries.php @@ -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' );