From 5f89696ee75400f59ad895758efe046ed8fbe87f Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Thu, 28 Jun 2012 22:42:52 -0400 Subject: removed deprecate function and url from friends collections add action --- actions/friends/collections/add.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'actions') diff --git a/actions/friends/collections/add.php b/actions/friends/collections/add.php index 1e2bc1d5c..9dc17b37e 100644 --- a/actions/friends/collections/add.php +++ b/actions/friends/collections/add.php @@ -20,8 +20,7 @@ if ($id) { $result = update_access_collection($id, $friends); if ($result) { system_message(elgg_echo("friends:collectionadded")); - // go to the collections page - forward("pg/collections/" . get_loggedin_user()->username); + forward("collections/" . elgg_get_logged_in_user_entity()->username); } else { register_error(elgg_echo("friends:nocollectionname")); forward(REFERER); -- cgit v1.2.3