From: Jonny Tischbein Date: Fri, 14 Sep 2018 08:06:26 +0000 (+0200) Subject: api_friendhips_destroy function header X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c3a58d44e858381f8324643d7727b71a8e5c2dc;p=friendica.git api_friendhips_destroy function header --- diff --git a/include/api.php b/include/api.php index faa465b18b..db42d63c5b 100644 --- a/include/api.php +++ b/include/api.php @@ -3679,7 +3679,7 @@ function api_friendships_destroy($type) } else { logger("No owner found", LOGGER_DEBUG); - throw new Exception("Error Processing Request"); + throw new NoFoundException("Error Processing Request"); } // Sharing-only contacts get deleted as there no relationship any more