summaryrefslogtreecommitdiff
path: root/plugins/subscriptions_option/subscriptions_option.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/subscriptions_option/subscriptions_option.php')
-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');
}
}