r52981 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52980‎ | r52981 | r52982 >
Date:14:10, 9 July 2009
Author:werdna
Status:deferred
Tags:
Comment:
Always set newtalk for new thread notifications, not just for user talk pages.
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/LqtNewMessages.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/LqtNewMessages.php
@@ -111,6 +111,10 @@
112112 'ums_thread' => $t->id(),
113113 'ums_read_timestamp' => null,
114114 );
 115+
 116+ // Set newtalk
 117+ $u = User::newFromId( $row->wl_user );
 118+ $u->setNewtalk( true );
115119 }
116120
117121 $wantsTalkNotification = false;

Status & tagging log