aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-19 20:20:17 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-19 20:20:17 +0000
commit83f950638c0abc77a3674ac476ce9f201df0a672 (patch)
tree2a4c5eadd132c0778ae852ca2b36b2635901aa42 /mod/riverdashboard/start.php
parent2d8b27d6fe62f43b21893d1f3f7d8808e962f3cc (diff)
downloadelgg-83f950638c0abc77a3674ac476ce9f201df0a672.tar.gz
elgg-83f950638c0abc77a3674ac476ce9f201df0a672.tar.bz2
Default all tools' menu items to "world" view. Removed "My" prefix.
git-svn-id: http://code.elgg.org/elgg/trunk@5450 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/start.php')
-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');