X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrunBatchedQuery.php;h=2feae02ecacba4de4e42190b48c7ed8573c87e74;hb=df2ef5194e88514081511302da45ebf19afcb248;hp=3fd9e02bac09ccadb17dd8f1d4a277908cf3b9fc;hpb=764cfa7d85ddfae9f23abd94c3d416fc4680ed0b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/runBatchedQuery.php b/maintenance/runBatchedQuery.php index 3fd9e02bac..2feae02eca 100644 --- a/maintenance/runBatchedQuery.php +++ b/maintenance/runBatchedQuery.php @@ -33,9 +33,9 @@ require_once __DIR__ . '/Maintenance.php'; class BatchedQueryRunner extends Maintenance { public function __construct() { parent::__construct(); - $this->mDescription = + $this->addDescription( "Run a query repeatedly until it affects 0 rows, and wait for slaves in between.\n" . - "NOTE: You need to set a LIMIT clause yourself."; + "NOTE: You need to set a LIMIT clause yourself." ); } public function execute() {