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
Merge "Add test for ApiClearHasMsg"
[lhc/web/wiklou.git]
/
maintenance
/
checkUsernames.php
diff --git
a/maintenance/checkUsernames.php
b/maintenance/checkUsernames.php
index
6c66da4
..
f29f836
100644
(file)
--- a/
maintenance/checkUsernames.php
+++ b/
maintenance/checkUsernames.php
@@
-40,7
+40,7
@@
class CheckUsernames extends Maintenance {
}
function execute() {
}
function execute() {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$maxUserId = 0;
do {
$maxUserId = 0;
do {
@@
-50,7
+50,7
@@
class CheckUsernames extends Maintenance {
__METHOD__,
[
'ORDER BY' => 'user_id',
__METHOD__,
[
'ORDER BY' => 'user_id',
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
]
);
]
);