api_friendhips_destroy function header
This commit is contained in:
parent
3eb539aefd
commit
2c3a58d44e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue