Allow adding local contacts via console

This commit is contained in:
Matthew Exon 2022-12-29 19:39:27 +01:00
parent 272951d39b
commit 1dbbafa1af

View File

@ -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');
}