Branch 'roundcubemail-plugins-kolab-0.8' - plugins/kolab_zpush
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Wed Aug 1 18:53:48 CEST 2012
plugins/kolab_zpush/kolab_zpush.php | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 95bd068b173cec9d2184fddc7045f90d8af9c622
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed Aug 1 17:53:30 2012 +0100
Prevent kolab_zpush plugin from deadlocking
diff --git a/plugins/kolab_zpush/kolab_zpush.php b/plugins/kolab_zpush/kolab_zpush.php
index f19fe3a..9c35021 100644
--- a/plugins/kolab_zpush/kolab_zpush.php
+++ b/plugins/kolab_zpush/kolab_zpush.php
@@ -279,6 +279,10 @@ class kolab_zpush extends rcube_plugin
public function list_folders()
{
if (!isset($this->folders)) {
+ if (empty($this->cache)) {
+ $this->init_imap();
+ }
+
// read cached folder meta data
if ($cached_folders = $this->cache->read('folders')) {
$this->folders_meta = $cached_folders;
More information about the commits
mailing list