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
API: Force straight join for prop=linkshere|transcludedin|fileusage
[lhc/web/wiklou.git]
/
includes
/
user
/
PasswordReset.php
diff --git
a/includes/user/PasswordReset.php
b/includes/user/PasswordReset.php
index
bc87cd0
..
889ec92
100644
(file)
--- a/
includes/user/PasswordReset.php
+++ b/
includes/user/PasswordReset.php
@@
-236,7
+236,7
@@
class PasswordReset {
* @throws MWException On unexpected database errors
*/
protected function getUsersByEmail( $email ) {
- $res = wfGetDB( DB_
SLAVE
)->select(
+ $res = wfGetDB( DB_
REPLICA
)->select(
'user',
User::selectFields(),
[ 'user_email' => $email ],