Changeset 2960 in subversion for trunk/roundcubemail/program/steps/mail/list.inc
- Timestamp:
- Sep 17, 2009 8:36:32 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/steps/mail/list.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/list.inc
r2959 r2960 61 61 $a_headers = $IMAP->list_headers($mbox_name, NULL, $sort_col, $sort_order); 62 62 63 // count UNSEEN messages... 64 $old_unseen = $_SESSION['unseen_count'][$mbox_name]; 65 $unseen = $count ? $IMAP->messagecount($mbox_name, 'UNSEEN', !empty($_REQUEST['_refresh'])) : 0; 66 $_SESSION['unseen_count'][$mbox_name] = $unseen; 67 68 // ...and update mailboxlist 69 if ($unseen != $old_unseen) 70 $OUTPUT->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX')); 63 // update mailboxlist 64 rcmail_send_unread_count($mbox_name, !empty($_REQUEST['_refresh'])); 71 65 72 66 // update message count display
Note: See TracChangeset
for help on using the changeset viewer.
