X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupPreferences.php;h=bed3956a88cc2dd3baa57892ea9f52deae345b9d;hb=3599ce72b0fe2594bd3ae8c902555040b8a91d28;hp=66fc6d374ef280cf172855fd45edbb98fc13d80d;hpb=28b8d632ad487182c1f65c32dad9e921f80ccd02;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupPreferences.php b/maintenance/cleanupPreferences.php index 66fc6d374e..bed3956a88 100644 --- a/maintenance/cleanupPreferences.php +++ b/maintenance/cleanupPreferences.php @@ -34,7 +34,9 @@ require_once __DIR__ . '/Maintenance.php'; class CleanupPreferences extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = 'Clean up hidden preferences, removed preferences, and normalizes values'; + $this->addDescription( + 'Clean up hidden preferences, removed preferences, and normalizes values' + ); $this->setBatchSize( 50 ); $this->addOption( 'dry-run', 'Print debug info instead of actually deleting' ); $this->addOption( 'hidden', 'Drop hidden preferences ($wgHiddenPrefs)' );