aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/start.php')
-rw-r--r--mod/groups/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 36a1964ba..aaaaa3f45 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -14,7 +14,8 @@
global $CONFIG;
// Set up the menu
- add_menu(elgg_echo('groups'), "pg/groups/world/");
+ $item = new ElggMenuItem('groups', elgg_echo('groups'), 'pg/groups/world');
+ elgg_register_menu_item('site', $item);
// Register a page handler, so we can have nice URLs
register_page_handler('groups','groups_page_handler');