From b798d8b38603274879a4fd8e98011da96d43d134 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 18 Dec 2015 11:35:05 +0100 Subject: [PATCH] use public API method instead of deprecated private namespace method --- lib/addressbookprovider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/addressbookprovider.php b/lib/addressbookprovider.php index 6b1065cc..db2ba3c1 100644 --- a/lib/addressbookprovider.php +++ b/lib/addressbookprovider.php @@ -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);