From 623f6f475d2fc6335b313c73da7f3eeca4471a8b Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 9 Dec 2010 18:44:21 +0000 Subject: topbar friends should be in core, not profile plugin git-svn-id: http://code.elgg.org/elgg/trunk@7584 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/start.php | 2 -- mod/profile/views/default/profile/topbar_extend.php | 11 ----------- 2 files changed, 13 deletions(-) delete mode 100644 mod/profile/views/default/profile/topbar_extend.php (limited to 'mod') 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"; -} -- cgit v1.2.3