r56335 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r56334
|
r56335
|
r56336
>
Date:
21:28, 14 September 2009
Author:
brion
Status:
ok
Tags:
Comment:
Commit live hack from wmf-deployment
r53208
: skip user cache invalidation if we're in read-only mode; it's likely to fail and cause more confusion than not doing the invalidation.
Modified paths:
/trunk/phase3/includes/User.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/User.php
—
—
@@ -1679,6 +1679,9 @@
1680
1680
* for reload on the next hit.
1681
1681
*/
1682
1682
function invalidateCache() {
1683
+ if( wfReadOnly() ) {
1684
+ return;
1685
+ }
1683
1686
$this->load();
1684
1687
if( $this->mId ) {
1685
1688
$this->mTouched = self::newTouchedTimestamp();
Follow-up revisions
Revision
Commit summary
Author
Date
r56374
Merge post-branch trunk updates replacing old live hacks:...
brion
17:25, 15 September 2009
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r53208
Apply live hacks, local merges, and removal of SVN externals -- all copied fr...
brion
23:50, 13 July 2009
Status & tagging log
21:40, 29 September 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r56335
[
removed:
new
added:
ok]