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


1 files modified
4 ■■■■ changed files
program/steps/mail/check_recent.inc 4 ●●●● patch | view | raw | blame | history
program/steps/mail/check_recent.inc
@@ -72,8 +72,8 @@
            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();