Fixed check-recent [richs]

release-0.6
svncommit 16 years ago
parent 3b9a53f4fb
commit 93adb3fc1b

@ -183,6 +183,7 @@ $action_map = array(
'remove-attachment' => 'attachments.inc',
'display-attachment' => 'attachments.inc',
'upload' => 'attachments.inc',
'check-recent' => 'check_recent.inc',
),
'addressbook' => array(

@ -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));
}
}

Loading…
Cancel
Save