From ab09c2001bd9384c4e3c2964c5d1a39a0e91b013 Mon Sep 17 00:00:00 2001 From: Sem Date: Thu, 8 Dec 2011 21:19:02 +0100 Subject: Arranged page to see friend requests. --- actions/friendrequest/decline.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 actions/friendrequest/decline.php (limited to 'actions/friendrequest/decline.php') diff --git a/actions/friendrequest/decline.php b/actions/friendrequest/decline.php old mode 100755 new mode 100644 index 5b48acfb4..247023c60 --- a/actions/friendrequest/decline.php +++ b/actions/friendrequest/decline.php @@ -4,9 +4,9 @@ $user = elgg_get_logged_in_user_entity(); $friend = get_entity(sanitize_int(get_input("guid"))); if(remove_entity_relationship($friend->guid, 'friendrequest', $user->guid)) { - system_message(elgg_echo("friendrequest:remove:success")); + system_message(elgg_echo("friendrequest:decline:success", array($user->name))); } else { - system_message(elgg_echo("friendrequest:remove:fail")); + system_message(elgg_echo("friendrequest:decline:fail")); } forward(REFERER); -- cgit v1.2.3