aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 16:59:51 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-16 16:59:51 +0000
commit741808bdf03d09c3e5c2ac3865451fade409d892 (patch)
tree3487469bb7ba3f03535b43e60ec6086e8822c61f /engine
parent4b7edf24875b66b576e595f0eab9e8d87688f2a3 (diff)
downloadelgg-741808bdf03d09c3e5c2ac3865451fade409d892.tar.gz
elgg-741808bdf03d09c3e5c2ac3865451fade409d892.tar.bz2
Friends link removed from primary nav and added to top toolbar.
git-svn-id: http://code.elgg.org/elgg/trunk@5778 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/users.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 778b072a1..02b0f9027 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1765,10 +1765,13 @@ function users_init() {
global $CONFIG;
// add Friends to tools menu - if profile mod is running
+ // now added to toolbar
+ /*
if ( isloggedin() && is_plugin_enabled('profile') ) {
$user = get_loggedin_user();
add_menu(elgg_echo('friends'), $CONFIG->wwwroot . "pg/friends/" . $user->username, array(), 'core:friends');
}
+ */
register_page_handler('friends', 'friends_page_handler');
register_page_handler('friendsof', 'friends_of_page_handler');