- Workaround IMAP server issue when THREAD command returns less messages than exist in a folder: don't update folder status in second count() call
| | |
| | | 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(); |
| | | |