summaryrefslogtreecommitdiff
path: root/modules/node/node.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/node/node.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/node/node.module')
-rw-r--r--modules/node/node.module6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 237354ab8..98505d38d 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2257,11 +2257,7 @@ function node_page_default() {
if (db_num_rows($result)) {
$feed_url = url('rss.xml', NULL, NULL, TRUE);
- drupal_add_feed($feed_url);
- drupal_add_link(array('rel' => 'alternate',
- 'type' => 'application/rss+xml',
- 'title' => t('RSS'),
- 'href' => $feed_url));
+ drupal_add_feed($feed_url, t('RSS'));
$output = '';
while ($node = db_fetch_object($result)) {