summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-09 08:32:13 +0000
committeralecpl <alec@alec.pl>2011-05-09 08:32:13 +0000
commitac3ad69e941c0bcece827e148522a0b78aed25b3 (patch)
tree7cb820dced52f2222ef341f19e547f0e836eebff /program/steps/settings
parentb5fb21e767ac6b8d683e253e0d201f29d675ebc9 (diff)
- Fix possible ambiguity in folders caching (when list_mailboxes() was called the same result was returned, no matter what was the 1st and 2nd argument)
Diffstat (limited to 'program/steps/settings')
-rw-r--r--program/steps/settings/folders.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/folders.inc b/program/steps/settings/folders.inc
index c4c221fb5..bc95c7506 100644
--- a/program/steps/settings/folders.inc
+++ b/program/steps/settings/folders.inc
@@ -231,7 +231,7 @@ function rcube_subscription_form($attrib)
}
// get folders from server
- $IMAP->clear_cache('mailboxes');
+ $IMAP->clear_cache('/^mailboxes.*/', true);
$a_unsubscribed = $IMAP->list_unsubscribed();
$a_subscribed = $IMAP->list_mailboxes();