r65366 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65365‎ | r65366 | r65367 >
Date:09:58, 21 April 2010
Author:werdna
Status:deferred
Tags:
Comment:
LiquidThreads: Invalidate user cache every time a user message count is incremented.
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/NewMessagesController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/NewMessagesController.php
@@ -414,6 +414,7 @@
415415 global $wgMemc;
416416
417417 $wgMemc->delete( wfMemcKey( 'lqt-new-messages-count', $uid ) );
 418+ User::newFromId( $uid )->invalidateCache();
418419 }
419420
420421 static function watchedThreadsForUser( $user ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r65367LiquidThreads: Merge r65366werdna10:02, 21 April 2010

Status & tagging log