From 0f042e0ac1bfba35a8ff4cfb41f89e97aa63beb3 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 23 Apr 2010 11:47:24 +0000 Subject: - fix IMAP errors on Settings/Folders (always call _id2uid() with mailbox set) - performance: add option to not checking MAXUID in messagecount() git-svn-id: https://svn.roundcube.net/trunk@3554 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/settings/manage_folders.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/settings') diff --git a/roundcubemail/program/steps/settings/manage_folders.inc b/roundcubemail/program/steps/settings/manage_folders.inc index 9202777f7..54dd0bd92 100644 --- a/roundcubemail/program/steps/settings/manage_folders.inc +++ b/roundcubemail/program/steps/settings/manage_folders.inc @@ -291,7 +291,7 @@ function rcube_subscription_form($attrib) $table->add_row(array('id' => 'rcmrow'.$idx, 'class' => join(' ', $classes))); $table->add('name', Q($display_folder)); - $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id']))); // XXX: Use THREADS or ALL? + $table->add('msgcount', ($folder['virtual'] ? '' : $IMAP->messagecount($folder['id'], 'ALL', false, false))); $table->add('subscribed', ($protected || $folder['virtual']) ? ($subscribed ? ' •' : ' ') : $checkbox_subscribe->show(($subscribed ? $folder_utf8 : ''), array('value' => $folder_utf8))); if ($threading_supported) { -- cgit v1.2.3