diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-12 06:58:53 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-12 06:58:53 -0700 |
commit | e5793b5b2680cba14dda6bd0242b262baa0d00a6 (patch) | |
tree | 5ae8da30a0881ec1583de1fce7fde9c86bb05487 /modules/comment/helpers | |
parent | fcddeefa59e3db8ebc0b394b38e9aef2ddf00371 (diff) |
Change the "request_feed_links" eventing handling so that individual modules
provide the part of the url (the suffix) that they are interested in and the
rss module will format the rest of the url.
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_event.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_event.php b/modules/comment/helpers/comment_event.php index 6370e27d..fdf3a96f 100644 --- a/modules/comment/helpers/comment_event.php +++ b/modules/comment/helpers/comment_event.php @@ -23,8 +23,8 @@ class comment_event_Core { } static function request_feed_links($event_data) { - $event_data->feeds[t("All new comments")] = url::site("rss/comments"); + $event_data->feeds[t("All new comments")] = "comments"; $event_data->feeds[sprintf(t("Comments on %s"), $event_data->item->title)] = - url::site("rss/comments/{$event_data->item->id}"); + "comments/{$event_data->item->id}"; } } |