diff options
Diffstat (limited to 'modules/tracker')
-rw-r--r-- | modules/tracker/tracker.info | 1 | ||||
-rw-r--r-- | modules/tracker/tracker.module | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/tracker/tracker.info b/modules/tracker/tracker.info index 2375bc01a..03816901a 100644 --- a/modules/tracker/tracker.info +++ b/modules/tracker/tracker.info @@ -1,6 +1,7 @@ ; $Id$ name = Tracker description = Enables tracking of recent posts for users. +dependencies[] = comment package = Core - optional version = VERSION core = 6.x diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index c08bc5da2..bfad4bf35 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -101,7 +101,7 @@ function tracker_page($uid = 0) { while ($node = db_fetch_object($result)) { // Determine the number of comments: $comments = 0; - if (module_exists('comment') && $node->comment_count) { + if ($node->comment_count) { $comments = $node->comment_count; if ($new = comment_num_new($node->nid)) { |