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:
f9829f5
)
* Make $user->invalidateCache() get the Id if needed
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 11 Oct 2008 21:06:21 +0000
(21:06 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 11 Oct 2008 21:06:21 +0000
(21:06 +0000)
* Remove redundant cache clearing in renameuser
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
64aebdd
..
c0c6ebc
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-1593,6
+1593,7
@@
class User {
* Called implicitly from invalidateCache() and saveSettings().
*/
private function clearSharedCache() {
+ $this->load();
if( $this->mId ) {
global $wgMemc;
$wgMemc->delete( wfMemcKey( 'user', 'id', $this->mId ) );