aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-15 21:41:14 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-15 21:41:14 +0000
commit8b2a0a8310720d9f0c3977c092f59320c096a2ed (patch)
treecb3dfd72c2ae47f71a5126690d8cfa6dee5ae997 /mod/pages/start.php
parentde2500effa7de7bbfb833cf8f6a2c70c9c907bab (diff)
downloadelgg-8b2a0a8310720d9f0c3977c092f59320c096a2ed.tar.gz
elgg-8b2a0a8310720d9f0c3977c092f59320c096a2ed.tar.bz2
Making menu link for pages go to all pages instead of owned pages.
git-svn-id: http://code.elgg.org/elgg/trunk@6496 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 9caa3c4f2..eee04b4ed 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -16,16 +16,8 @@
function pages_init()
{
global $CONFIG;
-
- // Set up the menu for logged in users
- if (isloggedin())
- {
- add_menu(elgg_echo('pages'), $CONFIG->wwwroot . "pg/pages/owned/" . $_SESSION['user']->username,'pages');
- }
- else
- {
- add_menu(elgg_echo('pages'), $CONFIG->wwwroot . "mod/pages/world.php");
- }
+
+ add_menu(elgg_echo('pages'), $CONFIG->wwwroot . "mod/pages/world.php");
// Register a page handler, so we can have nice URLs
register_page_handler('pages','pages_page_handler');