From: Michael Date: Fri, 9 Jul 2021 16:20:22 +0000 (+0000) Subject: Don't update automatically to make tests happy X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=04580ad4fb568d89d76570ff5e97591a037fe841;p=friendica.git Don't update automatically to make tests happy --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 0184861c3c..3fa8e74b48 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -1077,7 +1077,7 @@ class Contact if (!empty($contact)) { $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]); return $contact_id; }