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 @@
415
415
global $wgMemc;
416
416
417
417
$wgMemc->delete( wfMemcKey( 'lqt-new-messages-count', $uid ) );
418
+ User::newFromId( $uid )->invalidateCache();
418
419
}
419
420
420
421
static function watchedThreadsForUser( $user ) {
Follow-up revisions
Revision
Commit summary
Author
Date
r65367
LiquidThreads: Merge
r65366
werdna
10:02, 21 April 2010
Status & tagging log
12:10, 8 December 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r65366
[
removed:
new
added:
deferred]