summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2009-03-09 21:03:10 +0000
committersvncommit <devs@roundcube.net>2009-03-09 21:03:10 +0000
commit93adb3fc1b743f80859a5902694d06e7ceecdb59 (patch)
tree70fb9e10daeaf677e4fc9edcb88a0d5f7d360121 /program/steps/mail
parent3b9a53f4fbc61f0a68d2542ad0f1552a4356d381 (diff)
Fixed check-recent [richs]
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/check_recent.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc
index b85a613b3..438e97bdb 100644
--- a/program/steps/mail/check_recent.inc
+++ b/program/steps/mail/check_recent.inc
@@ -66,7 +66,7 @@ foreach ($a_mailboxes as $mbox_name) {
}
}
}
- else if ($IMAP->messagecount($mbox_name, 'RECENT', $check_all)) {
+ else if ($IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)) {
$OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN', $check_all));
}
}