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 "RCFilters UI: Display popups above CapsuleItemWidgets"
[lhc/web/wiklou.git]
/
maintenance
/
userOptions.inc
diff --git
a/maintenance/userOptions.inc
b/maintenance/userOptions.inc
index
4b0a817
..
c657c03
100644
(file)
--- a/
maintenance/userOptions.inc
+++ b/
maintenance/userOptions.inc
@@
-140,8
+140,8
@@
class UserOptions {
$ret = [];
$defaultOptions = User::getDefaultOptions();
$ret = [];
$defaultOptions = User::getDefaultOptions();
- // We list user by user_id from one of the
slave database
- $dbr = wfGetDB( DB_
SLAVE
);
+ // We list user by user_id from one of the
replica DBs
+ $dbr = wfGetDB( DB_
REPLICA
);
$result = $dbr->select( 'user',
[ 'user_id' ],
[],
$result = $dbr->select( 'user',
[ 'user_id' ],
[],
@@
-194,8
+194,8
@@
class UserOptions {
private function CHANGER() {
$this->warn();
private function CHANGER() {
$this->warn();
- // We list user by user_id from one of the
slave database
- $dbr = wfGetDB( DB_
SLAVE
);
+ // We list user by user_id from one of the
replica DBs
+ $dbr = wfGetDB( DB_
REPLICA
);
$result = $dbr->select( 'user',
[ 'user_id' ],
[],
$result = $dbr->select( 'user',
[ 'user_id' ],
[],