api_friendhips_destroy function header
This commit is contained in:
parent
3eb539aefd
commit
2c3a58d44e
@ -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…
x
Reference in New Issue
Block a user