diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-05-21 09:25:51 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-05-21 18:07:35 +0200 |
commit | eb0478df35831c346fe794721e40fde0de0fc839 (patch) | |
tree | 1e8286b34ae58748ac1b5a6c162a0c21b8bbcce4 /plugins/subscriptions_option/subscriptions_option.php | |
parent | 78fcb348e53660d6f9e93893c4ed8eee9d6a3fef (diff) |
Add option imap_force_ns to make buggy servers support optional
Diffstat (limited to 'plugins/subscriptions_option/subscriptions_option.php')
-rw-r--r-- | plugins/subscriptions_option/subscriptions_option.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/subscriptions_option/subscriptions_option.php b/plugins/subscriptions_option/subscriptions_option.php index 28f826263..8b27afbdc 100644 --- a/plugins/subscriptions_option/subscriptions_option.php +++ b/plugins/subscriptions_option/subscriptions_option.php @@ -74,12 +74,9 @@ class subscriptions_option extends rcube_plugin function mailboxes_list($args) { - $rcmail = rcmail::get_instance(); + $rcmail = rcmail::get_instance(); if (!$rcmail->config->get('use_subscriptions', true)) { - $storage = $rcmail->get_storage(); - if ($storage->check_connection()) { - $args['folders'] = $storage->conn->listMailboxes($args['root'], $args['name']); - } + $args['folders'] = $rcmail->get_storage()->list_folders_direct(); } return $args; } |