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
Make protect.php maintenance script not ignore --user and --reason parameters
[lhc/web/wiklou.git]
/
maintenance
/
rollbackEdits.php
diff --git
a/maintenance/rollbackEdits.php
b/maintenance/rollbackEdits.php
index
10c107e
..
5ad7d4e
100644
(file)
--- a/
maintenance/rollbackEdits.php
+++ b/
maintenance/rollbackEdits.php
@@
-95,7
+95,7
@@
class RollbackEdits extends Maintenance {
* @return array
*/
private function getRollbackTitles( $user ) {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$titles = [];
$results = $dbr->select(
[ 'page', 'revision' ],