diff options
author | alecpl <alec@alec.pl> | 2009-09-17 12:07:58 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-17 12:07:58 +0000 |
commit | 78925f8f1a9afb9475a9cf9ad1b35daade23da85 (patch) | |
tree | e17493f32eb5f11a6faa77ff64ef7f81a1e0c469 /program/steps/mail/folders.inc | |
parent | 20e251599fa595102188bffb9fc5ffc4a1ca0166 (diff) |
- Fix incorrect count of new messages in folder list when using multiple IMAP clients (#1485995)
- Fix all folders checking for new messages with disabled caching (#1486128)
Diffstat (limited to 'program/steps/mail/folders.inc')
-rw-r--r-- | program/steps/mail/folders.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc index dc086b155..73d4ae8c4 100644 --- a/program/steps/mail/folders.inc +++ b/program/steps/mail/folders.inc @@ -60,6 +60,7 @@ else if ($RCMAIL->action=='purge' && ($mbox = get_input_value('_mbox', RCUBE_INP $OUTPUT->command('message_list.clear'); $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text()); $OUTPUT->command('set_unread_count', $mbox_name, 0); + $_SESSION['unseen_count'][$mbox_name] = 0; } else $commands = "// purged: $success"; @@ -67,4 +68,5 @@ else if ($RCMAIL->action=='purge' && ($mbox = get_input_value('_mbox', RCUBE_INP } $OUTPUT->send($commands); + ?> |