summaryrefslogtreecommitdiff
path: root/modules/blog/blog.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/blog.pages.inc')
-rw-r--r--modules/blog/blog.pages.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc
index 587fbbf29..eea45e4dd 100644
--- a/modules/blog/blog.pages.inc
+++ b/modules/blog/blog.pages.inc
@@ -45,7 +45,7 @@ function blog_page_user($account) {
drupal_set_message(t('!author has not created any blog entries.', array('!author' => theme('username', array('account' => $account)))));
}
}
- drupal_add_feed(url('blog/' . $account->uid . '/feed'), t('RSS - !title', array('!title' => $title)));
+ drupal_add_feed('blog/' . $account->uid . '/feed', t('RSS - !title', array('!title' => $title)));
return $build;
}
@@ -80,7 +80,7 @@ function blog_page_last() {
else {
drupal_set_message(t('No blog entries have been created.'));
}
- drupal_add_feed(url('blog/feed'), t('RSS - blogs'));
+ drupal_add_feed('blog/feed', t('RSS - blogs'));
return $build;
}