Branch 'roundcubemail-plugins-kolab-0.8' - plugins/kolab_folders
Jeroen van Meeuwen
vanmeeuwen at kolabsys.com
Wed Aug 1 18:36:48 CEST 2012
plugins/kolab_folders/kolab_folders.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4b286a052bab9962513b053c1d762fea03370d58
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date: Wed Aug 1 17:36:30 2012 +0100
Fix reference to $imap over $storage
diff --git a/plugins/kolab_folders/kolab_folders.php b/plugins/kolab_folders/kolab_folders.php
index e1b2e63..29bcd2f 100644
--- a/plugins/kolab_folders/kolab_folders.php
+++ b/plugins/kolab_folders/kolab_folders.php
@@ -415,7 +415,7 @@ class kolab_folders extends rcube_plugin
// Code copied from rcube_imap::_list_mailboxes()
// Server supports LIST-EXTENDED, we can use selection options
// #1486225: Some dovecot versions returns wrong result using LIST-EXTENDED
- if (!$this->rc->config->get('imap_force_lsub') && $imap->get_capability('LIST-EXTENDED')) {
+ if (!$this->rc->config->get('imap_force_lsub') && $storage->get_capability('LIST-EXTENDED')) {
// This will also set mailbox options, LSUB doesn't do that
$a_folders = $storage->conn->listMailboxes($root, $name,
NULL, array('SUBSCRIBED'));
More information about the commits
mailing list