summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/UserAddressBooks.php
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-03-12 11:57:32 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-03-13 09:18:50 (GMT)
commitc895ade019a4beacc189257f46325b1a76e323c3 (patch)
tree26c8da643c15c28346898cf42d410e51ee8917d3 /lib/Kolab/CardDAV/UserAddressBooks.php
parent3fe616421a8d7340b4dd29ce56dafec4733d4d3c (diff)
downloadiRony-c895ade019a4beacc189257f46325b1a76e323c3.tar.gz
Make LDAP directory synchronization for offline use work but restrict to read-only access
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);
}