summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-05 15:35:40 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-05 15:35:40 (GMT)
commitd10017824b3d581b99600148cc0ba66acef2ca75 (patch)
treed01c71bdc2f60eb0470a74be83da2be606cbb579
parent4254e373c5b334977ebd6a7341a8608bcc515de7 (diff)
downloadroundcubemail-plugins-kolab-d10017824b3d581b99600148cc0ba66acef2ca75.tar.gz
Small fixes for the previous patch
-rw-r--r--plugins/libkolab/config.inc.php.dist2
-rw-r--r--plugins/libkolab/lib/kolab_storage_cache.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/plugins/libkolab/config.inc.php.dist b/plugins/libkolab/config.inc.php.dist
index 7c37f96..f202d9b 100644
--- a/plugins/libkolab/config.inc.php.dist
+++ b/plugins/libkolab/config.inc.php.dist
@@ -7,7 +7,7 @@ $rcmail_config['kolab_cache'] = true;
// Cache refresh interval (default is 12 hours)
// after this period, cache is forced to synchronize with IMAP
-$config['kolab_cache_refresh'] = '12h';
+$rcmail_config['kolab_cache_refresh'] = '12h';
// Specify format version to write Kolab objects (must be a string value!)
$rcmail_config['kolab_format_version'] = '3.0';
diff --git a/plugins/libkolab/lib/kolab_storage_cache.php b/plugins/libkolab/lib/kolab_storage_cache.php
index de128e1..72647fb 100644
--- a/plugins/libkolab/lib/kolab_storage_cache.php
+++ b/plugins/libkolab/lib/kolab_storage_cache.php
@@ -24,6 +24,8 @@
class kolab_storage_cache
{
+ const DB_DATE_FORMAT = 'Y-m-d H:i:s';
+
protected $db;
protected $imap;
protected $folder;