summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/UserAddressBooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab/CardDAV/UserAddressBooks.php')
-rw-r--r--lib/Kolab/CardDAV/UserAddressBooks.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kolab/CardDAV/UserAddressBooks.php b/lib/Kolab/CardDAV/UserAddressBooks.php
index db71bbe..4d9063a 100644
--- a/lib/Kolab/CardDAV/UserAddressBooks.php
+++ b/lib/Kolab/CardDAV/UserAddressBooks.php
@@ -50,7 +50,7 @@ class UserAddressBooks extends \Sabre\CardDAV\UserAddressBooks implements DAV\IE
$objs[] = new AddressBook($this->carddavBackend, $addressbook);
}
- if (rcube::get_instance()->config->get('global_ldap_directory')) {
+ if (rcube::get_instance()->config->get('kolabdav_ldap_directory')) {
$objs[] = $this->getLDAPDirectory();
}
@@ -84,7 +84,7 @@ class UserAddressBooks extends \Sabre\CardDAV\UserAddressBooks implements DAV\IE
{
if (!$this->ldap_directory) {
$rcube = rcube::get_instance();
- $config = $rcube->config->get('global_ldap_directory');
+ $config = $rcube->config->get('kolabdav_ldap_directory');
$config['debug'] = $rcube->config->get('ldap_debug');
$this->ldap_directory = new LDAPDirectory($config, $this->principalUri, $this->carddavBackend);
}