From 0da812fdb0188d34a21b2b486c52699959909892 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Fri, 12 Jun 2009 21:58:53 +0800 Subject: 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. Signed-off-by: --- modules/comment/helpers/comment_event.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comment/helpers/comment_event.php') 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}"; } } -- cgit v1.2.3