summaryrefslogtreecommitdiff
path: root/lib/Kolab/CardDAV/Plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab/CardDAV/Plugin.php')
-rw-r--r--lib/Kolab/CardDAV/Plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/CardDAV/Plugin.php b/lib/Kolab/CardDAV/Plugin.php
index 1456e78..adf8151 100644
--- a/lib/Kolab/CardDAV/Plugin.php
+++ b/lib/Kolab/CardDAV/Plugin.php
@@ -67,7 +67,7 @@ class Plugin extends CardDAV\Plugin
public function beforeGetProperties($path, DAV\INode $node, array &$requestedProperties, array &$returnedProperties)
{
// publish global ldap address book for this principal
- if ($node instanceof DAVACL\IPrincipal && empty($this->directories) && \rcube::get_instance()->config->get('global_ldap_directory')) {
+ if ($node instanceof DAVACL\IPrincipal && empty($this->directories) && \rcube::get_instance()->config->get('kolabdav_ldap_directory')) {
$this->directories[] = self::ADDRESSBOOK_ROOT . '/' . $node->getName() . '/' . LDAPDirectory::DIRECTORY_NAME;
}