From: <sy...@us...> - 2011-01-10 20:13:38
|
Revision: 31854 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=31854&view=rev Author: sylvieg Date: 2011-01-10 20:13:32 +0000 (Mon, 10 Jan 2011) Log Message: ----------- [ENH]tracker: when watching a tracker, also watch comment on item Modified Paths: -------------- trunk/comments.php Modified: trunk/comments.php =================================================================== --- trunk/comments.php 2011-01-10 19:32:02 UTC (rev 31853) +++ trunk/comments.php 2011-01-10 20:13:32 UTC (rev 31854) @@ -219,6 +219,9 @@ } else if (isset($_REQUEST["articleId"])) { global $notificationemaillib; require_once('lib/notifications/notificationemaillib.php'); sendCommentNotification('article', $_REQUEST['articleId'], $_REQUEST['comments_title'], $_REQUEST['comments_data']); + } elseif (isset($_REQUEST['itemId'])) { + global $notificationemaillib; require_once('lib/notifications/notificationemaillib.php'); + sendCommentNotification('trackeritem', $_REQUEST['itemId'], $_REQUEST['comments_title'], $_REQUEST['comments_data']); } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |