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 "Revert "Revert "[MCR] Add and use $title param to RevisionStoregetPrevious...
[lhc/web/wiklou.git]
/
maintenance
/
cleanupTable.inc
diff --git
a/maintenance/cleanupTable.inc
b/maintenance/cleanupTable.inc
index
a18b81e
..
3ace09c
100644
(file)
--- a/
maintenance/cleanupTable.inc
+++ b/
maintenance/cleanupTable.inc
@@
-106,7
+106,7
@@
class TableCleanup extends Maintenance {
* @throws MWException
*/
public function runTable( $params ) {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
if ( array_diff( array_keys( $params ),
[ 'table', 'conds', 'index', 'callback' ] )