diff options
author | alecpl <alec@alec.pl> | 2009-09-17 13:06:31 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-17 13:06:31 +0000 |
commit | 00a833811ebbba72b48aa90dae81833d3e4a50bc (patch) | |
tree | 09e78ee892566e5edd6a4cd44d82f42c9885cc78 | |
parent | b2b8b19cf55064d97438eee83a56fe20c257de59 (diff) |
- save unseen count also for current mailbox
-rw-r--r-- | program/steps/mail/check_recent.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc index 58a8e7ea5..094c429d4 100644 --- a/program/steps/mail/check_recent.inc +++ b/program/steps/mail/check_recent.inc @@ -34,6 +34,7 @@ foreach ($a_mailboxes as $mbox_name) { } $unread_count = $IMAP->messagecount(NULL, 'UNSEEN', TRUE); + $_SESSION['unseen_count'][$mbox_name] = $unread_count; $OUTPUT->set_env('messagecount', $all_count); $OUTPUT->set_env('pagesize', $IMAP->page_size); |