aboutsummaryrefslogtreecommitdiff
path: root/mod/file/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/start.php')
-rw-r--r--mod/file/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/file/start.php b/mod/file/start.php
index c939877f5..227a5c33c 100644
--- a/mod/file/start.php
+++ b/mod/file/start.php
@@ -28,7 +28,8 @@
global $CONFIG;
// Set up menu (tools dropdown)
- add_menu(elgg_echo('files'), "pg/file/");
+ $item = new ElggMenuItem('file', elgg_echo('file'), 'pg/file');
+ elgg_register_menu_item('site', $item);
// Extend CSS
elgg_extend_view('css/screen', 'file/css');