- Workaround IMAP server issue when THREAD command returns less messages than exist in a folder: don't update folder status in second count() call

pull/1/head
alecpl 13 years ago
parent ccce87d7ce
commit f3136149fe

@ -72,8 +72,8 @@ foreach ($a_mailboxes as $mbox_name) {
continue;
// get overall message count; allow caching because rcube_storage::folder_status() did a refresh
$all_count = $RCMAIL->storage->count(null, $RCMAIL->storage->get_threading() ? 'THREADS' : 'ALL');
$list_mode = $RCMAIL->storage->get_threading() ? 'THREADS' : 'ALL';
$all_count = $RCMAIL->storage->count(null, $list_mode, false, false);
$page = $RCMAIL->storage->get_page();
$page_size = $RCMAIL->storage->get_pagesize();

Loading…
Cancel
Save