aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard
diff options
context:
space:
mode:
Diffstat (limited to 'mod/riverdashboard')
-rw-r--r--mod/riverdashboard/start.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php
index 39233fba6..c093f5ecb 100644
--- a/mod/riverdashboard/start.php
+++ b/mod/riverdashboard/start.php
@@ -10,8 +10,7 @@ function riverdashboard_init() {
register_page_handler('dashboard','riverdashboard_page_handler');
} else {
// Activity main menu
- if (isloggedin())
- add_menu(elgg_echo('activity'), $CONFIG->wwwroot . "mod/riverdashboard/");
+ add_menu(elgg_echo('activity'), $CONFIG->wwwroot . "mod/riverdashboard/");
}
// Page handler
register_page_handler('riverdashboard','riverdashboard_page_handler');
@@ -33,4 +32,4 @@ function riverdashboard_dashboard() {
include(dirname(__FILE__) . '/index.php');
}
-register_elgg_event_handler('init','system','riverdashboard_init'); \ No newline at end of file
+register_elgg_event_handler('init','system','riverdashboard_init');