plugins/libkolab
Aleksander Machniak
machniak at kolabsys.com
Wed Aug 7 15:14:34 CEST 2013
plugins/libkolab/bin/modcache.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 17ceedc47b5c4f2dc9f68feac3ddddadf06084d7
Author: Aleksander Machniak <machniak at kolabsys.com>
Date: Wed Aug 7 15:14:19 2013 +0200
Support 'file' objects
diff --git a/plugins/libkolab/bin/modcache.sh b/plugins/libkolab/bin/modcache.sh
index 04d36a5..5ac9a21 100755
--- a/plugins/libkolab/bin/modcache.sh
+++ b/plugins/libkolab/bin/modcache.sh
@@ -81,7 +81,7 @@ case 'clear':
if (!$db->is_connected() || $db->is_error())
die("No DB connection\n");
- $folder_types = $opts['type'] ? explode(',', $opts['type']) : array('contact','distribution-list','event','task','configuration');
+ $folder_types = $opts['type'] ? explode(',', $opts['type']) : array('contact','distribution-list','event','task','configuration','file');
$folder_types_db = array_map(array($db, 'quote'), $folder_types);
if ($opts['all']) {
@@ -106,7 +106,7 @@ case 'prewarm':
$rcmail->plugins->load_plugin('libkolab');
if (authenticate($opts)) {
- $folder_types = $opts['type'] ? explode(',', $opts['type']) : array('contact','event','task','configuration');
+ $folder_types = $opts['type'] ? explode(',', $opts['type']) : array('contact','event','task','configuration','file');
foreach ($folder_types as $type) {
// sync every folder of the given type
foreach (kolab_storage::get_folders($type) as $folder) {
More information about the commits
mailing list