summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/AddressBook.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-06-20 08:06:43 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-06-20 08:06:43 (GMT)
commita7b85e71e8e06ddefaed655c602ac34b36d2e7f5 (patch)
tree341b3a08ee46f9c95fad98ceb8a51bdfb7611f7c /lib/Kolab/CardDAV/AddressBook.php
parent103dd18e627de21a4ecebbd2eded10ac16e71d27 (diff)
downloadiRony-a7b85e71e8e06ddefaed655c602ac34b36d2e7f5.tar.gz
Improve CardDAV backend:
- Introduce aliases to make address books accessible via their folder name - make it play nice with the Mac OS Address Book which cannot handle multiple address books see https://code.google.com/p/sabredav/wiki/OSXAddressbook
Diffstat (limited to 'lib/Kolab/CardDAV/AddressBook.php')
-rw-r--r--lib/Kolab/CardDAV/AddressBook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CardDAV/AddressBook.php b/lib/Kolab/CardDAV/AddressBook.php
index 23e4080..285ed9c 100644
--- a/lib/Kolab/CardDAV/AddressBook.php
+++ b/lib/Kolab/CardDAV/AddressBook.php
@@ -112,7 +112,7 @@ class AddressBook extends \Sabre\CardDAV\AddressBook implements \Sabre\CardDAV\I
);
$owner = $this->getOwner();
- $is_owner = $owner == $this->calendarInfo['principaluri'];
+ $is_owner = $owner == $this->addressBookInfo['principaluri'];
if ($is_owner || strpos($rights, 'i') !== false) {
$acl[] = array(