api_friendhips_destroy function header

2022.09-rc
Jonny Tischbein 2018-09-14 10:06:26 +02:00
rodzic 3eb539aefd
commit 2c3a58d44e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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