summaryrefslogtreecommitdiff
path: root/modules/taxonomy/taxonomy.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-23 07:23:09 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-23 07:23:09 +0000
commit2d059380821851cc5dcfcf6c32238f2856ddf991 (patch)
treea19d796a137bcd9d9180bb9fbaf718c1f5478424 /modules/taxonomy/taxonomy.module
parent055844e74ff3a4cb8de09db274c8260b966baac7 (diff)
downloadbrdo-2d059380821851cc5dcfcf6c32238f2856ddf991.tar.gz
brdo-2d059380821851cc5dcfcf6c32238f2856ddf991.tar.bz2
- Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls.
Diffstat (limited to 'modules/taxonomy/taxonomy.module')
-rw-r--r--modules/taxonomy/taxonomy.module7
1 files changed, 1 insertions, 6 deletions
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;