1
0
Fork 0

Don't update automatically to make tests happy

This commit is contained in:
Michael 2021-07-09 16:20:22 +00:00
parent 0735a22cdd
commit 04580ad4fb

View file

@ -1077,7 +1077,7 @@ class Contact
if (!empty($contact)) { if (!empty($contact)) {
$contact_id = $contact["id"]; $contact_id = $contact["id"];
if (empty($update) && (!empty($contact['uri-id']) || is_bool($update))) { if (empty($update)) {
Logger::debug('Contact found', ['url' => $url, 'uid' => $uid, 'update' => $update, 'cid' => $contact_id]); Logger::debug('Contact found', ['url' => $url, 'uid' => $uid, 'update' => $update, 'cid' => $contact_id]);
return $contact_id; return $contact_id;
} }