mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
This commit is contained in:
parent
869f3cfec4
commit
d9c6a46ffe
29 changed files with 78 additions and 285 deletions
|
@ -971,7 +971,7 @@ class Contact extends BaseModule
|
|||
if (DBA::isResult($contact)) {
|
||||
DI::page()['aside'] = '';
|
||||
|
||||
$profiledata = Model\Contact::getDetailsByURL($contact['url']);
|
||||
$profiledata = Model\Contact::getByURL($contact['url'], 0, [], 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::getDetailsByURL($contact['url']);
|
||||
$profiledata = Model\Contact::getByURL($contact['url'], 0, [], 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