r47015 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47014‎ | r47015 | r47016 >
Date:17:23, 8 February 2009
Author:aaron
Status:deferred
Tags:
Comment:
Follow up to r46907: invalidate the cache, since the sync key uses it
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -1031,7 +1031,7 @@
10321032 if( count($changeList) > 0 ) {
10331033 $notice = '<br/>' . wfMsgExt('revreview-update-use', array('parseinline'));
10341034 } else if( !$synced ) {
1035 - $wgMemc->delete($key); // bad key, said they were not synced
 1035+ $diff->mTitle->invalidateCache(); // bad cache, said they were not synced
10361036 }
10371037
10381038 # If the user is allowed to review, prompt them!

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r46907delete inconsistent sync cache keysaaron10:33, 6 February 2009

Status & tagging log