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:
65617df
)
Commit live hack from wmf-deployment r53208: skip user cache invalidation if we're...
author
Brion Vibber
<brion@users.mediawiki.org>
Mon, 14 Sep 2009 21:28:50 +0000
(21:28 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Mon, 14 Sep 2009 21:28:50 +0000
(21:28 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
3d4fdac
..
86e9dff
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-1679,6
+1679,9
@@
class User {
* for reload on the next hit.
*/
function invalidateCache() {
+ if( wfReadOnly() ) {
+ return;
+ }
$this->load();
if( $this->mId ) {
$this->mTouched = self::newTouchedTimestamp();