X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrunBatchedQuery.php;h=39a5c5fefef70825b538e84803933aabf4622481;hb=2323b0ba8161892714c3aba9fc6a4212397e0283;hp=f8eedb33a00206d69241384a6e281417b966754d;hpb=3a2853e218acb586a00f2e59638de4176aee287f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/runBatchedQuery.php b/maintenance/runBatchedQuery.php index f8eedb33a0..39a5c5fefe 100644 --- a/maintenance/runBatchedQuery.php +++ b/maintenance/runBatchedQuery.php @@ -25,12 +25,14 @@ require_once __DIR__ . '/Maintenance.php'; +use Wikimedia\Rdbms\IDatabase; + /** * Maintenance script to run a database query in batches and wait for replica DBs. * * @ingroup Maintenance */ -class BatchedQueryRunner extends Maintenance { +class RunBatchedQuery extends Maintenance { public function __construct() { parent::__construct(); $this->addDescription( @@ -109,5 +111,5 @@ class BatchedQueryRunner extends Maintenance { } } -$maintClass = "BatchedQueryRunner"; +$maintClass = RunBatchedQuery::class; require_once RUN_MAINTENANCE_IF_MAIN;