dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
73de492
)
Merge "Use READ_NORMAL for User cache regenerations"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 9 Jun 2016 19:45:04 +0000
(19:45 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 9 Jun 2016 19:45:04 +0000
(19:45 +0000)
includes/user/User.php
patch
|
blob
|
history
diff --git
a/includes/user/User.php
b/includes/user/User.php
index
5eef0c2
..
cc4c6d0
100644
(file)
--- a/
includes/user/User.php
+++ b/
includes/user/User.php
@@
-477,7
+477,7
@@
class User implements IDBAccessObject {
$setOpts += Database::getCacheSetOptions( wfGetDB( DB_SLAVE ) );
wfDebug( "User: cache miss for user {$this->mId}\n" );
- $this->loadFromDatabase();
+ $this->loadFromDatabase(
self::READ_NORMAL
);
$this->loadGroups();
$this->loadOptions();