mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +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
|
@ -755,7 +755,7 @@ class DFRN
|
|||
{
|
||||
$author = $doc->createElement($element);
|
||||
|
||||
$contact = Contact::getDetailsByURL($contact_url, $item["uid"]);
|
||||
$contact = Contact::getByURLForUser($contact_url, $item["uid"], ['url', 'name', 'addr', 'photo']);
|
||||
if (!empty($contact)) {
|
||||
XML::addElement($doc, $author, "name", $contact["name"]);
|
||||
XML::addElement($doc, $author, "uri", $contact["url"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue