dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e100224
)
Changed user login logic to use less expensive touch() method
author
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 Mar 2015 17:59:30 +0000
(10:59 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Thu, 26 Mar 2015 17:59:30 +0000
(10:59 -0700)
Change-Id: I5143c381e870d65a1c5bf4cf28ec4abe1bbf3bfe
includes/specials/SpecialUserlogin.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUserlogin.php
b/includes/specials/SpecialUserlogin.php
index
f2f6b69
..
44240d8
100644
(file)
--- a/
includes/specials/SpecialUserlogin.php
+++ b/
includes/specials/SpecialUserlogin.php
@@
-916,7
+916,7
@@
class LoginForm extends SpecialPage {
case self::SUCCESS:
# We've verified now, update the real record
$user = $this->getUser();
- $user->
invalidateCache
();
+ $user->
touch
();
if ( $user->requiresHTTPS() ) {
$this->mStickHTTPS = true;