From 706a2e199af488d2090233f59024cda1412ec13c Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sun, 12 May 2002 20:31:48 +0000 Subject: - using format_name instead of some local hack. --- modules/tracker/tracker.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/tracker') diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 2b3b1ecbd..6355b8eea 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -16,7 +16,7 @@ function tracker_link($type) { } function tracker_comments($id = 0) { - $period = time() - 259200; // all comments of the past 3 days + $period = time() - 259200 *20; // all comments of the past 3 days if ($id) { $sresult = db_query("SELECT n.nid, n.title, COUNT(n.nid) AS comments, MAX(c.timestamp) AS last_comment FROM comments c LEFT JOIN node n ON c.nid = n.nid WHERE c.timestamp > $period AND c.uid = '%s' GROUP BY n.nid, n.title DESC ORDER BY last_comment DESC LIMIT 10", $id); @@ -37,7 +37,7 @@ function tracker_comments($id = 0) { $output .= "\n"; } -- cgit v1.2.3