diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2019-01-22 13:00:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 13:00:07 +0100 |
commit | b1d4c3f50b00457c1ac10949df4ed5cf9adc9906 (patch) | |
tree | 0c8a0c12cc59bcb4c1dfee8e60d303d543c074c1 /apps/dav | |
parent | 5f61fafaaa41d80f32093af06f3da79ab218c63b (diff) | |
parent | 22112bf71d7e43f57b6987ed35200a99472ea4d6 (diff) | |
download | nextcloud-server-b1d4c3f50b00457c1ac10949df4ed5cf9adc9906.tar.gz nextcloud-server-b1d4c3f50b00457c1ac10949df4ed5cf9adc9906.zip |
Merge pull request #13642 from nextcloud/contacts-menu-url-fix
Allow access to addressbook unique uri
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CardDAV/AddressBookImpl.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php index 1aedd5d5643..ae727b8544f 100644 --- a/apps/dav/lib/CardDAV/AddressBookImpl.php +++ b/apps/dav/lib/CardDAV/AddressBookImpl.php @@ -76,6 +76,15 @@ class AddressBookImpl implements IAddressBook { } /** + * @return string defining the unique uri + * @since 16.0.0 + * @return string + */ + public function getUri(): string { + return $this->addressBookInfo['uri']; + } + + /** * In comparison to getKey() this function returns a human readable (maybe translated) name * * @return mixed |