r65367 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65366‎ | r65367 | r65368 >
Date:10:02, 21 April 2010
Author:werdna
Status:deferred
Tags:
Comment:
LiquidThreads: Merge r65366
Modified paths:
  • /branches/wmf/1.16wmf4/extensions/LiquidThreads/classes/NewMessagesController.php (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/classes/NewMessagesController.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/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 ) {
Property changes on: branches/wmf/1.16wmf4/extensions/LiquidThreads/classes/NewMessagesController.php
___________________________________________________________________
Name: svn:mergeinfo
421422 + /branches/wmf-deployment/extensions/LiquidThreads/classes/NewMessagesController.php:60970
/trunk/extensions/LiquidThreads/classes/NewMessagesController.php:57390,63727-63971,64920,65366
Index: branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/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 ) {
Property changes on: branches/wmf/1.16wmf4/extensions/LiquidThreads_alpha/classes/NewMessagesController.php
___________________________________________________________________
Name: svn:mergeinfo
421422 + /branches/wmf-deployment/extensions/LiquidThreads_alpha/classes/NewMessagesController.php:60970
/trunk/extensions/LiquidThreads/classes/NewMessagesController.php:57390,63727-63971,64920,65366

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65366LiquidThreads: Invalidate user cache every time a user message count is incre...werdna09:58, 21 April 2010

Status & tagging log