summaryrefslogtreecommitdiff
path: root/plugins/subscriptions_option
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-02-21 16:44:39 +0000
committerthomascube <thomas@roundcube.net>2010-02-21 16:44:39 +0000
commit47d8d39cf49310b688967f7571b0d66b5971b39c (patch)
treecad6a377f8e37bddaf8c87c4fd8b713d54d32043 /plugins/subscriptions_option
parentcd8e5636d201e22139dcfa090fa949f577129ec8 (diff)
Use rcmail::imap_connect() to establish IMAP connections; always initialize rcube_imap object in mail steps
Diffstat (limited to 'plugins/subscriptions_option')
-rw-r--r--plugins/subscriptions_option/subscriptions_option.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/subscriptions_option/subscriptions_option.php b/plugins/subscriptions_option/subscriptions_option.php
index ecbc4e238..4d471b8e6 100644
--- a/plugins/subscriptions_option/subscriptions_option.php
+++ b/plugins/subscriptions_option/subscriptions_option.php
@@ -65,7 +65,7 @@ class subscriptions_option extends rcube_plugin
// if the use_subscriptions preference changes, flush the folder cache
if (($use_subscriptions && !isset($_POST['_use_subscriptions'])) ||
(!$use_subscriptions && isset($_POST['_use_subscriptions']))) {
- $rcmail->imap_init(true);
+ $rcmail->imap_connect();
$rcmail->imap->clear_cache('mailboxes');
}
}