mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:50:11 +00:00
Changed parameter order for getByURL
This commit is contained in:
parent
d9c6a46ffe
commit
fc0312451d
22 changed files with 32 additions and 32 deletions
|
@ -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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue