Update folder reference in cache (was accidentally removed in 038e269d
)
This commit is contained in:
parent
15827ec2b5
commit
17cf1f4892
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue