X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FrunBatchedQuery.php;h=64eca9505be668c53078218b7e5c1faa3858d6f9;hb=08a0bec2c20f5a40459a51a1254912b78321c3c1;hp=f8eedb33a00206d69241384a6e281417b966754d;hpb=fba48c6dae69b7163580d936095b7dd16c9b3644;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;