From 2d059380821851cc5dcfcf6c32238f2856ddf991 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Aug 2006 07:23:09 +0000 Subject: - Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls. --- modules/forum/forum.module | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modules/forum/forum.module') diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 32dc7ebe1..9b5be7b12 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -930,13 +930,8 @@ function theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_p $output .= theme('forum_list', $forums, $parents, $tid); if ($tid && !in_array($tid, variable_get('forum_containers', array()))) { - drupal_add_link(array('rel' => 'alternate', - 'type' => 'application/rss+xml', - 'title' => 'RSS - '. $title, - 'href' => url('taxonomy/term/'. $tid .'/0/feed'))); - $output .= theme('forum_topic_list', $tid, $topics, $sortby, $forum_per_page); - drupal_add_feed(url('taxonomy/term/'. $tid .'/0/feed')); + drupal_add_feed(url('taxonomy/term/'. $tid .'/0/feed'), 'RSS - '. $title); } $output .= ''; } -- cgit v1.2.3