summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-01 16:36:30 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-08-01 16:36:30 (GMT)
commit4b286a052bab9962513b053c1d762fea03370d58 (patch)
treed6a20005f676dea9b5b746a44399b192c4d7ac7a
parent3044340e1956ddf89bccdab84c891559e95f22ec (diff)
downloadroundcubemail-plugins-kolab-4b286a052bab9962513b053c1d762fea03370d58.tar.gz
Fix reference to $imap over $storage
-rw-r--r--plugins/kolab_folders/kolab_folders.php2
1 files changed, 1 insertions, 1 deletions
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'));