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 "Change "Special:近易" to "Special:監修" in zh-classical"
[lhc/web/wiklou.git]
/
includes
/
cache
/
GenderCache.php
diff --git
a/includes/cache/GenderCache.php
b/includes/cache/GenderCache.php
index
80f04ce
..
099a986
100644
(file)
--- a/
includes/cache/GenderCache.php
+++ b/
includes/cache/GenderCache.php
@@
-56,7
+56,7
@@
class GenderCache {
/**
* Returns the gender for given username.
/**
* Returns the gender for given username.
- * @param string|User $username
Username
+ * @param string|User $username
* @param string $caller The calling method
* @return string
*/
* @param string $caller The calling method
* @return string
*/
@@
-157,7
+157,7
@@
class GenderCache {
return;
}
return;
}
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$table = [ 'user', 'user_properties' ];
$fields = [ 'user_name', 'up_value' ];
$conds = [ 'user_name' => $usersToCheck ];
$table = [ 'user', 'user_properties' ];
$fields = [ 'user_name', 'up_value' ];
$conds = [ 'user_name' => $usersToCheck ];