diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-12 13:41:20 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-12 13:43:50 +0200 |
commit | 2b72ec46a761ded28c83ef2ac544c9406a874802 (patch) | |
tree | 4987fbb02d66d13fad476edeedad39a759273416 /program/steps/mail/list.inc | |
parent | 8f57ce136b3f66de6a8490c0b28551278da4fc5f (diff) |
Bypass cache when counting EXISTS messages
Diffstat (limited to 'program/steps/mail/list.inc')
-rw-r--r-- | program/steps/mail/list.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index c4a6df57b..929dda299 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -93,7 +93,7 @@ rcmail_send_unread_count($mbox_name, !empty($_REQUEST['_refresh']), $unseen); // update message count display $pages = ceil($count/$RCMAIL->storage->get_pagesize()); -$exists = $RCMAIL->storage->count($mbox_name, 'EXISTS'); +$exists = $RCMAIL->storage->count($mbox_name, 'EXISTS', true); $OUTPUT->set_env('messagecount', $count); $OUTPUT->set_env('pagecount', $pages); |