summaryrefslogtreecommitdiff
path: root/program/steps/mail/show.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-19 16:14:10 +0000
committeralecpl <alec@alec.pl>2008-09-19 16:14:10 +0000
commit25c35c81e1648c49291218fdf0162d82b7e692ca (patch)
tree8ba462b9d2dd664f1ecf04803556376145fdc20c /program/steps/mail/show.inc
parent50b59a186ca56f2566a6134571bcb7b73fbcb806 (diff)
- added set_message, set_message_icon and set_message_status functions
- icon setting more unified + some small fixes/typos - get rid of *_from_preview() functions (Thomas, don't be mad, it was truly tested ;))
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r--program/steps/mail/show.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 0b15c98d9..e5ea85791 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -71,8 +71,8 @@ if ($_GET['_uid']) {
$marked = $IMAP->set_flag($MESSAGE->uid, 'SEEN');
if($RCMAIL->action == 'preview' && $marked != -1)
{
- $OUTPUT->command('set_unread_count_from_preview', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX'));
- $OUTPUT->command('mark_as_read_from_preview', $MESSAGE->uid);
+ $OUTPUT->command('parent.set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX'));
+ $OUTPUT->command('parent.set_message', $MESSAGE->uid, 'unread', false);
}
}