]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Contact.php
Changed parameter order for getByURL
[friendica.git] / src / Module / Contact.php
index fc54f1ea2af97ab28874174d8f6ce9bfbc2460cf..f63d42c0ea58ae9a4252ad143b7775681ac0e065 100644 (file)
@@ -971,7 +971,7 @@ class Contact extends BaseModule
                if (DBA::isResult($contact)) {
                        DI::page()['aside'] = '';
 
-                       $profiledata = Model\Contact::getByURL($contact['url'], 0, [], false);
+                       $profiledata = Model\Contact::getByURL($contact['url'], false);
 
                        Model\Profile::load($a, '', $profiledata, true);
 
@@ -994,7 +994,7 @@ class Contact extends BaseModule
                if (DBA::isResult($contact)) {
                        DI::page()['aside'] = '';
 
-                       $profiledata = Model\Contact::getByURL($contact['url'], 0, [], false);
+                       $profiledata = Model\Contact::getByURL($contact['url'], false);
 
                        if (local_user() && in_array($profiledata['network'], Protocol::FEDERATED)) {
                                $profiledata['remoteconnect'] = DI::baseUrl() . '/follow?url=' . urlencode($profiledata['url']);