diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-12 22:46:42 +0800 |
---|---|---|
committer | <unostar@danalan.info> | 2009-06-13 04:22:25 +0800 |
commit | 94dc6baa4961a178ab68dc4cb0ce7a9bcba0ab26 (patch) | |
tree | 9a72beb30b1c2dc5c0e7fdeded4f557bd566c0ef /modules/comment/helpers/comment_event.php | |
parent | 0da812fdb0188d34a21b2b486c52699959909892 (diff) |
Change from an event driven model to a call driven model similiar to the task
api.
Signed-off-by: <unostar@danalan.info>
Diffstat (limited to 'modules/comment/helpers/comment_event.php')
-rw-r--r-- | modules/comment/helpers/comment_event.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/comment/helpers/comment_event.php b/modules/comment/helpers/comment_event.php index fdf3a96f..a3beb27a 100644 --- a/modules/comment/helpers/comment_event.php +++ b/modules/comment/helpers/comment_event.php @@ -21,10 +21,4 @@ class comment_event_Core { static function item_before_delete($item) { Database::instance()->delete("comments", array("item_id" => $item->id)); } - - static function request_feed_links($event_data) { - $event_data->feeds[t("All new comments")] = "comments"; - $event_data->feeds[sprintf(t("Comments on %s"), $event_data->item->title)] = - "comments/{$event_data->item->id}"; - } } |