aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 00:42:44 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 00:42:44 +0000
commit782fd909b042740f736b8c668f74d47a43f703f3 (patch)
tree2898c2ee772f3654dde8fb9e4374a10dfaef9eac /mod/groups
parenta3107496e7d539200e3f815d5ab06d0ec1c93d62 (diff)
downloadelgg-782fd909b042740f736b8c668f74d47a43f703f3.tar.gz
elgg-782fd909b042740f736b8c668f74d47a43f703f3.tar.bz2
Replaced all occurrences of register_page_handler in core with elgg_register_page_handler
git-svn-id: http://code.elgg.org/elgg/trunk@8244 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 44b5363dc..9b18e4d9b 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -25,14 +25,14 @@ function groups_init() {
elgg_register_menu_item('site', $item);
// Register a page handler, so we can have nice URLs
- register_page_handler('groups', 'groups_page_handler');
+ elgg_register_page_handler('groups', 'groups_page_handler');
// Register URL handlers for groups
register_entity_url_handler('groups_url', 'group', 'all');
elgg_register_plugin_hook_handler('entity:icon:url', 'group', 'groups_icon_url_override');
// Register an icon handler for groups
- register_page_handler('groupicon', 'groups_icon_handler');
+ elgg_register_page_handler('groupicon', 'groups_icon_handler');
// Register some actions
$action_base = elgg_get_plugins_path() . 'groups/actions';
@@ -475,7 +475,7 @@ function discussion_init() {
elgg_register_library('elgg:discussion', elgg_get_plugins_path() . 'groups/lib/discussion.php');
- register_page_handler('discussion', 'discussion_page_handler');
+ elgg_register_page_handler('discussion', 'discussion_page_handler');
register_entity_url_handler('discussion_override_topic_url', 'object', 'groupforumtopic');
//register_extender_url_handler('group_topicpost_url', 'annotation', 'group_topic_post');