aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire')
-rw-r--r--mod/thewire/start.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/thewire/start.php b/mod/thewire/start.php
index 3eb172360..abb0cb019 100644
--- a/mod/thewire/start.php
+++ b/mod/thewire/start.php
@@ -20,8 +20,9 @@
function thewire_init() {
// Set up menu for logged in users
- add_menu(elgg_echo('thewire:title'), "pg/thewire");
-
+ $item = new ElggMenuItem('thewire', elgg_echo('thewire:title'), 'pg/thewire');
+ elgg_register_menu_item('site', $item);
+
// Extend system CSS with our own styles, which are defined in the thewire/css view
elgg_extend_view('css/screen', 'thewire/css');