Update folder reference in cache (was accidentally removed in 038e269d)

This commit is contained in:
Thomas Bruederli 2015-02-03 12:31:12 +01:00
parent 15827ec2b5
commit 17cf1f4892

View file

@ -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);
}