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 "resources: Update mustache.js from 0.8.2-d9aa703 to v1.0.0"
[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 ) {
* @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' ] )
if ( array_diff( array_keys( $params ),
[ 'table', 'conds', 'index', 'callback' ] )