diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-28 22:42:52 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-28 22:42:52 -0400 |
commit | 5f89696ee75400f59ad895758efe046ed8fbe87f (patch) | |
tree | a743ff91cc07d9f1e6443db18e709b7e5acd0bd2 | |
parent | f816280293120801c08854282cc4af8774a78f4a (diff) | |
download | elgg-5f89696ee75400f59ad895758efe046ed8fbe87f.tar.gz elgg-5f89696ee75400f59ad895758efe046ed8fbe87f.tar.bz2 |
removed deprecate function and url from friends collections add action
-rw-r--r-- | actions/friends/collections/add.php | 3 |
1 files changed, 1 insertions, 2 deletions
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); |