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 @@
16801680 * for reload on the next hit.
16811681 */
16821682 function invalidateCache() {
 1683+ if( wfReadOnly() ) {
 1684+ return;
 1685+ }
16831686 $this->load();
16841687 if( $this->mId ) {
16851688 $this->mTouched = self::newTouchedTimestamp();

Follow-up revisions

RevisionCommit summaryAuthorDate
r56374Merge post-branch trunk updates replacing old live hacks:...brion17:25, 15 September 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53208Apply live hacks, local merges, and removal of SVN externals -- all copied fr...brion23:50, 13 July 2009

Status & tagging log