aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/users.php')
-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');