summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-24 10:26:35 +0000
committeralecpl <alec@alec.pl>2011-11-24 10:26:35 +0000
commit636bd77074638a1132b8933c4fb114373aaec296 (patch)
treef482788161a1b290cffe6b1f381dcbfcc53e5b8c /program/steps/mail/func.inc
parent80216d0b79fe4a3b4d637c94bda1616990291109 (diff)
- Mark (with different color) folders with recent messages (#1486234)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 8407b06cd..2d25fe31b 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -472,7 +472,7 @@ function rcmail_get_mailbox_name_text()
}
-function rcmail_send_unread_count($mbox_name, $force=false, $count=null)
+function rcmail_send_unread_count($mbox_name, $force=false, $count=null, $mark='')
{
global $RCMAIL;
@@ -484,7 +484,7 @@ function rcmail_send_unread_count($mbox_name, $force=false, $count=null)
$unseen = $count;
if ($unseen != $old_unseen || ($mbox_name == 'INBOX'))
- $RCMAIL->output->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX'));
+ $RCMAIL->output->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX'), $mark);
rcmail_set_unseen_count($mbox_name, $unseen);