Changeset View
Changeset View
Standalone View
Standalone View
lib/Kolab/CardDAV/AddressBook.php
Context not available. | |||||
{ | { | ||||
// return ACL information based on IMAP MYRIGHTS | // return ACL information based on IMAP MYRIGHTS | ||||
$rights = $this->storage ? $this->storage->get_myrights() : null; | $rights = $this->storage ? $this->storage->get_myrights() : null; | ||||
if ($rights && !PEAR::isError($rights)) { | if ($rights && !is_a($rights, 'PEAR_Error')) { | ||||
// user has at least read access to calendar folders listed | // user has at least read access to calendar folders listed | ||||
$acl = array( | $acl = array( | ||||
array( | array( | ||||
Context not available. |