dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MessagesBs.php: Update namespaces names
[lhc/web/wiklou.git]
/
maintenance
/
runBatchedQuery.php
diff --git
a/maintenance/runBatchedQuery.php
b/maintenance/runBatchedQuery.php
index
f8eedb3
..
64eca95
100644
(file)
--- a/
maintenance/runBatchedQuery.php
+++ b/
maintenance/runBatchedQuery.php
@@
-25,6
+25,8
@@
require_once __DIR__ . '/Maintenance.php';
require_once __DIR__ . '/Maintenance.php';
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Maintenance script to run a database query in batches and wait for replica DBs.
*
/**
* 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;
require_once RUN_MAINTENANCE_IF_MAIN;