From f49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 21:32:54 +0000 Subject: Refs #2124: Using get_loggedin_user functions instead of $vars['user'], $_SESSION['user'], etc. git-svn-id: http://code.elgg.org/elgg/trunk@7139 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile/start.php') diff --git a/mod/profile/start.php b/mod/profile/start.php index 1d73b6632..48547c0bf 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -21,7 +21,7 @@ function profile_init() { // Set up the menu for logged-in users elgg_extend_view('elgg_topbar/extend', 'profile/topbar_extend'); //if (isloggedin()) { - // add_menu(elgg_echo('profile:yours'), $_SESSION['user']->getURL() . '/extend'); + // add_menu(elgg_echo('profile:yours'), get_loggedin_user()->getURL() . '/extend'); //} // Metadata on users needs to be independent -- cgit v1.2.3