mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-02-07 01:54:16 +01:00
use public API method instead of deprecated private namespace method
This commit is contained in:
parent
c5c1e765ce
commit
b798d8b386
@ -165,7 +165,7 @@ SQL;
|
|||||||
'addressBookId' => $addressbookKey,
|
'addressBookId' => $addressbookKey,
|
||||||
'contactId' => $contact->getId()
|
'contactId' => $contact->getId()
|
||||||
));
|
));
|
||||||
$url = \OC_Helper::makeURLAbsolute($url);
|
$url = \OC::$server->getURLGenerator()->getAbsoluteURL($url);
|
||||||
$j['data']['PHOTO'] = "VALUE=uri:$url";
|
$j['data']['PHOTO'] = "VALUE=uri:$url";
|
||||||
}
|
}
|
||||||
$results[] = $this->convertToSearchResult($j);
|
$results[] = $this->convertToSearchResult($j);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user