getGUID(), 'friendrequest', $friend->getGUID())) { system_message(elgg_echo('friend_request:revoke:success')); } else { register_error(elgg_echo('friend_request:revoke:fail')); } forward(REFERER);