summaryrefslogtreecommitdiff
path: root/program/steps/settings
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-10-05 11:35:19 +0000
committeralecpl <alec@alec.pl>2011-10-05 11:35:19 +0000
commit8881766a9fc626585c9d00a139ff3dd5621745dd (patch)
tree514d500ecb1bbd33067862dec90bb7e8c9eed4bd /program/steps/settings
parent537c394302df13e7623a36b28b11caceeaaa75b2 (diff)
- Improved performance by skipping folders list sorting when it's not needed in folder manager
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 1d5df46e9..206f62c60 100644
--- a/program/steps/settings/folders.inc
+++ b/program/steps/settings/folders.inc
@@ -203,7 +203,7 @@ function rcube_subscription_form($attrib)
$IMAP->clear_cache('mailboxes', true);
$a_unsubscribed = $IMAP->list_unsubscribed();
- $a_subscribed = $IMAP->list_mailboxes();
+ $a_subscribed = $IMAP->list_mailboxes('', '*', null, null, true); // unsorted
$delimiter = $IMAP->get_hierarchy_delimiter();
$namespace = $IMAP->get_namespace();
$a_js_folders = array();