guid, 'friendrequest', $user->guid)) { system_message(elgg_echo("friendrequest:decline:success", array($user->name))); } else { system_message(elgg_echo("friendrequest:decline:fail")); } forward(REFERER);