Allow adding local contacts via console
This commit is contained in:
parent
272951d39b
commit
1dbbafa1af
|
@ -157,7 +157,7 @@ HELP;
|
|||
|
||||
$url = Probe::cleanURI($url);
|
||||
|
||||
$contact = ContactModel::getByURLForUser($url, $user['uid']);
|
||||
$contact = ContactModel::getByURL($url, null, [], $user['uid']);
|
||||
if (!empty($contact)) {
|
||||
throw new RuntimeException('Contact already exists');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user