From: Cash Costello Date: Fri, 29 Jun 2012 02:42:52 +0000 (-0400) Subject: removed deprecate function and url from friends collections add action X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=5f89696ee75400f59ad895758efe046ed8fbe87f;p=lorea%2Felgg.git removed deprecate function and url from friends collections add action --- 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);