aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 20:49:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-15 20:49:18 +0000
commite8b8ce3e70dbbc9d5ec03f8c6e4b62b4dd5122f8 (patch)
tree3cd6bbced0c63c038fa8c17df6d6d3bf8f8db549 /mod/groups/start.php
parent68d9bce9cb0e98a50da8a67a665d9c537ce012d0 (diff)
downloadelgg-e8b8ce3e70dbbc9d5ec03f8c6e4b62b4dd5122f8.tar.gz
elgg-e8b8ce3e70dbbc9d5ec03f8c6e4b62b4dd5122f8.tar.bz2
updated to removing more deprecation warnings (from hellekin)
git-svn-id: http://code.elgg.org/elgg/trunk@7636 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 19cbbb74f..36a1964ba 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -37,11 +37,8 @@
elgg_register_action("groups/addtogroup", $CONFIG->pluginspath . "groups/actions/addtogroup.php");
elgg_register_action("groups/invite", $CONFIG->pluginspath . "groups/actions/invite.php");
- // Use group widgets
- use_widgets('groups');
-
// Add a page owner handler
- add_page_owner_handler('groups_page_owner_handler');
+ elgg_register_plugin_hook_handler('page_owner', 'system', 'groups_page_owner_handler');
// Add some widgets
elgg_register_widget_type('a_users_groups',elgg_echo('groups:widget:membership'), elgg_echo('groups:widgets:description'));