diff --git a/src/Console/Contact.php b/src/Console/Contact.php index 37f3f056e4..d5f3c9923f 100644 --- a/src/Console/Contact.php +++ b/src/Console/Contact.php @@ -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'); }