From: cash Date: Thu, 9 Dec 2010 18:44:21 +0000 (+0000) Subject: topbar friends should be in core, not profile plugin X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=623f6f475d2fc6335b313c73da7f3eeca4471a8b;p=lorea%2Felgg.git topbar friends should be in core, not profile plugin git-svn-id: http://code.elgg.org/elgg/trunk@7584 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/mod/profile/start.php b/mod/profile/start.php index 0ba534585..5e581a308 100644 --- a/mod/profile/start.php +++ b/mod/profile/start.php @@ -18,8 +18,6 @@ function profile_init() { // will dictate the URL for all ElggUser objects register_entity_url_handler('profile_url', 'user', 'all'); - // 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'), get_loggedin_user()->getURL() . '/extend'); //} diff --git a/mod/profile/views/default/profile/topbar_extend.php b/mod/profile/views/default/profile/topbar_extend.php deleted file mode 100644 index dd38b9557..000000000 --- a/mod/profile/views/default/profile/topbar_extend.php +++ /dev/null @@ -1,11 +0,0 @@ -guid > 0)) { - $friends = elgg_echo('friends'); - echo "username}\" title=\"$friends\">$friends"; -}