diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-03 01:41:18 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-03 01:41:18 +0000 |
commit | 608647dcf59c60e55d86a69e39e2626e6f1eb6bc (patch) | |
tree | 0902b73d513ac13a3a57d69c73d7d55477d7471b /mod/groups/start.php | |
parent | 8f484535ba505b12d2d4ccdaf30686c375035108 (diff) | |
download | elgg-608647dcf59c60e55d86a69e39e2626e6f1eb6bc.tar.gz elgg-608647dcf59c60e55d86a69e39e2626e6f1eb6bc.tar.bz2 |
Refs #2679 - returning to a separate annotation for discussion forum replies. For those using the latest out of svn you can update with this script: https://gist.github.com/852092
git-svn-id: http://code.elgg.org/elgg/trunk@8570 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r-- | mod/groups/start.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php index 61cb89090..26452ebca 100644 --- a/mod/groups/start.php +++ b/mod/groups/start.php @@ -83,6 +83,8 @@ function groups_init() { elgg_register_event_handler('leave', 'group', 'groups_user_leave_event_listener'); elgg_register_event_handler('pagesetup', 'system', 'groups_submenus'); elgg_register_event_handler('annotate', 'all', 'group_object_notifications'); + + elgg_register_event_handler('upgrade', 'system', 'groups_run_upgrades'); } /** @@ -481,6 +483,8 @@ function discussion_init() { $action_base = elgg_get_plugins_path() . 'groups/actions/discussion'; elgg_register_action('discussion/save', "$action_base/save.php"); elgg_register_action('discussion/delete', "$action_base/delete.php"); + elgg_register_action('discussion/reply/save', "$action_base/reply/save.php"); + elgg_register_action('discussion/reply/delete', "$action_base/reply/delete.php"); // add link to owner block elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'discussion_owner_block_menu'); |