diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-17 11:13:45 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-01-22 10:03:56 +0100 |
commit | 22112bf71d7e43f57b6987ed35200a99472ea4d6 (patch) | |
tree | b0675012ce6aee09d12fd7bb304ce6f986368dba /apps/dav | |
parent | ac6ee0b8b7d06deb5285b99ed55df5baae9d821f (diff) | |
download | nextcloud-server-22112bf71d7e43f57b6987ed35200a99472ea4d6.tar.gz nextcloud-server-22112bf71d7e43f57b6987ed35200a99472ea4d6.zip |
Allow access to addressbook unique uri
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Co-Authored-By: Joas Schilling <coding@schilljs.com>
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 |