X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrunBatchedQuery.php;h=64eca9505be668c53078218b7e5c1faa3858d6f9;hb=99a57ca021d6e2c7bb25d927d47d8657e60b48e8;hp=f8eedb33a00206d69241384a6e281417b966754d;hpb=86448ece43db70f21d591b7d0ce52447664a2600;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/runBatchedQuery.php b/maintenance/runBatchedQuery.php index f8eedb33a0..64eca9505b 100644 --- a/maintenance/runBatchedQuery.php +++ b/maintenance/runBatchedQuery.php @@ -25,6 +25,8 @@ require_once __DIR__ . '/Maintenance.php'; +use Wikimedia\Rdbms\IDatabase; + /** * Maintenance script to run a database query in batches and wait for replica DBs. * @@ -109,5 +111,5 @@ class BatchedQueryRunner extends Maintenance { } } -$maintClass = "BatchedQueryRunner"; +$maintClass = BatchedQueryRunner::class; require_once RUN_MAINTENANCE_IF_MAIN;