summaryrefslogtreecommitdiff
path: root/plugins/libkolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-03 11:31:12 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-03 11:31:12 (GMT)
commit17cf1f489274047945762777a3d7f9e31613a4b8 (patch)
tree6471d2d30c482d897ce2644e4dea6e240d38cecf /plugins/libkolab
parent15827ec2b5d1dedd18f66ad16e234da3e5b04071 (diff)
downloadroundcubemail-plugins-kolab-17cf1f489274047945762777a3d7f9e31613a4b8.tar.gz
Update folder reference in cache (was accidentally removed in 038e269d)
Diffstat (limited to 'plugins/libkolab')
-rw-r--r--plugins/libkolab/lib/kolab_storage_folder.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/libkolab/lib/kolab_storage_folder.php b/plugins/libkolab/lib/kolab_storage_folder.php
index d9c79d5..0e728a3 100644
--- a/plugins/libkolab/lib/kolab_storage_folder.php
+++ b/plugins/libkolab/lib/kolab_storage_folder.php
@@ -80,6 +80,8 @@ class kolab_storage_folder extends kolab_storage_folder_api
// get a new cache instance if folder type changed
if (!$this->cache || $this->type != $oldtype)
$this->cache = kolab_storage_cache::factory($this);
+ else
+ $this->cache->set_folder($this);
$this->imap->set_folder($this->name);
}