mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-30 19:52:17 +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,
|
||||
'contactId' => $contact->getId()
|
||||
));
|
||||
$url = \OC_Helper::makeURLAbsolute($url);
|
||||
$url = \OC::$server->getURLGenerator()->getAbsoluteURL($url);
|
||||
$j['data']['PHOTO'] = "VALUE=uri:$url";
|
||||
}
|
||||
$results[] = $this->convertToSearchResult($j);
|
||||
|
Loading…
x
Reference in New Issue
Block a user