summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-17 13:06:31 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-17 13:06:31 +0000
commit1edf56fd08cffc2a50c7c733201ce8d396716175 (patch)
tree1fdbe0da236b055aac071aa4f989a87d7aec8830 /roundcubemail/program
parentcb11c83a90bf7434b91e0b1e2bfdd26242b95928 (diff)
- save unseen count also for current mailbox
git-svn-id: https://svn.roundcube.net/trunk@2962 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/check_recent.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/check_recent.inc b/roundcubemail/program/steps/mail/check_recent.inc
index 58a8e7ea5..094c429d4 100644
--- a/roundcubemail/program/steps/mail/check_recent.inc
+++ b/roundcubemail/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);