lib/kolab_sync.php

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Mon Nov 5 18:21:37 CET 2012


 lib/kolab_sync.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6f564be8f6ab32fc7131074b659640fc59263c8e
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Mon Nov 5 18:20:37 2012 +0100

    For existing Kolab 3.0 deployments, we cannot count on the configuration for activesync_plugins, so if it isn't set we'll use the default minimal set of plugins we require.

diff --git a/lib/kolab_sync.php b/lib/kolab_sync.php
index 0a645c2..21c3f03 100644
--- a/lib/kolab_sync.php
+++ b/lib/kolab_sync.php
@@ -71,7 +71,7 @@ class kolab_sync extends rcube
         // WARNING: We can use only plugins that are prepared for this
         //          e.g. are not using output or rcmail objects or
         //          doesn't throw errors when using them
-        $plugins = (array)$this->config->get('activesync_plugins');
+        $plugins = (array)$this->config->get('activesync_plugins', array('kolab_auth', 'kolab_folders'));
 
         // Initialize/load plugins
         $this->plugins = kolab_sync_plugin_api::get_instance();





More information about the commits mailing list