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/taxonomy/taxonomy.module | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 18ba091b3..c0e4bc48c 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1251,13 +1251,8 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { $breadcrumbs = array_reverse($breadcrumbs); menu_set_location($breadcrumbs); - drupal_add_link(array('rel' => 'alternate', - 'type' => 'application/rss+xml', - 'title' => 'RSS - '. $title, - 'href' => url('taxonomy/term/'. $str_tids .'/'. $depth .'/feed'))); - $output = taxonomy_render_nodes(taxonomy_select_nodes($tids, $terms['operator'], $depth, TRUE)); - drupal_add_feed(url('taxonomy/term/'. $str_tids .'/'. $depth .'/feed')); + drupal_add_feed(url('taxonomy/term/'. $str_tids .'/'. $depth .'/feed'), 'RSS - '. $title); return $output; break; -- cgit v1.2.3