diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-14 12:09:47 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-14 12:09:47 -0700 |
commit | 76b89556fc138dce694178fab9140a8242ea40ec (patch) | |
tree | 8a15489a8070aabfe2b19f7b4f5afa790326df82 /modules/comment/helpers/comment_rss.php | |
parent | 484796e7cc54c3690462ee061850b563c4d5da16 (diff) |
Remove the sidebar flag from the feed definition returned by available_feeds and
replace with a type field with one of two values (head and block). We need to
do this to determine what fields go in the rss block so we can ignore the
definitions that are related to the page head when creating the rss block that
goes into the sidebar.
Diffstat (limited to 'modules/comment/helpers/comment_rss.php')
-rw-r--r-- | modules/comment/helpers/comment_rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php index b191c326..2e958eef 100644 --- a/modules/comment/helpers/comment_rss.php +++ b/modules/comment/helpers/comment_rss.php @@ -21,10 +21,10 @@ class comment_rss_Core { static function available_feeds($item) { return array(array("description" => t("All new comments"), - "sidebar" => true, + "type" => "block", "uri" => "comments"), array("description" => sprintf(t("Comments on %s"), $item->title), - "sidebar" => true, + "type" => "block", "uri" => "comments/{$item->id}")); } |