Don't update automatically to make tests happy
This commit is contained in:
parent
0735a22cdd
commit
04580ad4fb
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue