[Svn] r2962 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Thu Sep 17 15:06:32 CEST 2009


Author: alec
Date: 2009-09-17 08:06:31 -0500 (Thu, 17 Sep 2009)
New Revision: 2962

Modified:
   trunk/roundcubemail/program/steps/mail/check_recent.inc
Log:
- save unseen count also for current mailbox


Modified: trunk/roundcubemail/program/steps/mail/check_recent.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/check_recent.inc	2009-09-17 12:50:54 UTC (rev 2961)
+++ trunk/roundcubemail/program/steps/mail/check_recent.inc	2009-09-17 13:06:31 UTC (rev 2962)
@@ -34,6 +34,7 @@
       }
       
       $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);

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list