diff options
Diffstat (limited to 'mod/bookmarks')
-rw-r--r-- | mod/bookmarks/start.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/bookmarks/start.php b/mod/bookmarks/start.php index 808f88ede..b0a2369d3 100644 --- a/mod/bookmarks/start.php +++ b/mod/bookmarks/start.php @@ -25,7 +25,7 @@ function bookmarks_init() { } // Listen to notification events and supply a more useful message - register_plugin_hook('notify:entity:message', 'object', 'bookmarks_notify_message'); + elgg_register_plugin_hook_handler('notify:entity:message', 'object', 'bookmarks_notify_message'); // Register a URL handler for shared items register_entity_url_handler('bookmark_url','object','bookmarks'); @@ -43,7 +43,7 @@ function bookmarks_init() { elgg_extend_view('groups/tool_latest','bookmarks/group_bookmarks'); // Register profile menu hook - register_plugin_hook('profile_menu', 'profile', 'bookmarks_profile_menu'); + elgg_register_plugin_hook_handler('profile_menu', 'profile', 'bookmarks_profile_menu'); } /** @@ -327,8 +327,8 @@ function bookmarks_profile_menu($hook, $entity_type, $return_value, $params) { } // Make sure the initialisation function is called on initialisation -register_elgg_event_handler('init','system','bookmarks_init'); -register_elgg_event_handler('pagesetup','system','bookmarks_pagesetup'); +elgg_register_event_handler('init','system','bookmarks_init'); +elgg_register_event_handler('pagesetup','system','bookmarks_pagesetup'); // Register actions global $CONFIG; |