]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/AddContact.php
Use a constant for the avatar base path
[friendica.git] / src / Worker / AddContact.php
index 755373fcd019a40a67ff81a00f44baf8b94c5f98..ff2240ec1471d3ccd1168480bcbccfcb1abc71c0 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -40,7 +40,7 @@ class AddContact
                        return;
                }
 
-               $result = Contact::createFromProbe($uid, $url);
+               $result = Contact::createFromProbeForUser($uid, $url);
                Logger::info('Added contact', ['uid' => $uid, 'url' => $url, 'result' => $result]);
        }
 }