summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-29 04:53:32 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-29 04:53:32 +0000
commit14779b97e1a051b68e2977ba6f48932e54da7b25 (patch)
tree0d79c0a340a92e5d7f2d3587ec59d1dc7171e4dc /modules/node
parent1a685474e698ce3e90dbae87f6a1f83966d9ef63 (diff)
downloadbrdo-14779b97e1a051b68e2977ba6f48932e54da7b25.tar.gz
brdo-14779b97e1a051b68e2977ba6f48932e54da7b25.tar.bz2
#917730 by rfay, David_Rothstein: Fixed various RSS feed links (with tests).
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 9a5651350..44a2274d1 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2537,8 +2537,8 @@ function node_page_default() {
$nodes = node_load_multiple($nids);
$build = node_view_multiple($nodes);
- $feed_url = url('rss.xml', array('absolute' => TRUE));
- drupal_add_feed($feed_url, variable_get('site_name', 'Drupal') . ' ' . t('RSS'));
+ // 'rss.xml' is a path, not a file, registered in node_menu().
+ drupal_add_feed('rss.xml', variable_get('site_name', 'Drupal') . ' ' . t('RSS'));
$build['pager'] = array(
'#theme' => 'pager',
'#weight' => 5,