]> git.mxchange.org Git - friendica.git/commitdiff
Don't update automatically to make tests happy
authorMichael <heluecht@pirati.ca>
Fri, 9 Jul 2021 16:20:22 +0000 (16:20 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 9 Jul 2021 16:20:22 +0000 (16:20 +0000)
src/Model/Contact.php

index 0184861c3c2d8403750bb075d5c69a03781cd43c..3fa8e74b48f14d78c709efb408b0e5b513b0da2c 100644 (file)
@@ -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;
                        }