Changeset View
Changeset View
Standalone View
Standalone View
lib/Kolab/CardDAV/ContactsBackend.php
Context not available. | |||||
); | ); | ||||
public $ldap_directory; | public $ldap_directory; | ||||
public $ldap_resources; | |||||
private $sources; | private $sources; | ||||
private $folders; | private $folders; | ||||
Context not available. | |||||
$contact = $this->ldap_directory->getContactObject($uid); | $contact = $this->ldap_directory->getContactObject($uid); | ||||
} | } | ||||
} | } | ||||
// read card data from LDAP resources | |||||
else if ($addressBookId == LDAPResources::DIRECTORY_NAME) { | |||||
if (is_object($this->ldap_resources)) { | |||||
$contact = $this->ldap_resources->getContactObject($uid); | |||||
} | |||||
} | |||||
else { | else { | ||||
$storage = $this->get_storage_folder($addressBookId); | $storage = $this->get_storage_folder($addressBookId); | ||||
$contact = $storage->get_object($uid, '*'); | $contact = $storage->get_object($uid, '*'); | ||||
Context not available. |