aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile')
-rw-r--r--mod/profile/start.php2
-rw-r--r--mod/profile/views/default/profile/topbar_extend.php11
2 files changed, 0 insertions, 13 deletions
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 @@
-<?php
-/**
- *
- */
-
-$user = get_loggedin_user();
-
-if (($user instanceof ElggUser) && ($user->guid > 0)) {
- $friends = elgg_echo('friends');
- echo "<a class='myfriends' href=\"".elgg_get_site_url()."pg/friends/{$user->username}\" title=\"$friends\">$friends</a>";
-}