aboutsummaryrefslogtreecommitdiff
path: root/actions/friends/remove.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/friends/remove.php')
-rw-r--r--actions/friends/remove.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/friends/remove.php b/actions/friends/remove.php
index 3aa9e5981..f79fdf0ac 100644
--- a/actions/friends/remove.php
+++ b/actions/friends/remove.php
@@ -2,8 +2,8 @@
/**
* Elgg remove friend action
*
- * @package Elgg
- * @subpackage Core
+ * @package Elgg.Core
+ * @subpackage Friends.Management
*/
// Ensure we are logged in
@@ -18,7 +18,7 @@ $errors = false;
try{
if ($friend instanceof ElggUser) {
get_loggedin_user()->removeFriend($friend_guid);
- } else{
+ } else {
register_error(sprintf(elgg_echo("friends:remove:failure"), $friend->name));
$errors = true;
}