From 25c35c81e1648c49291218fdf0162d82b7e692ca Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 19 Sep 2008 16:14:10 +0000 Subject: - 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 ;)) --- program/steps/mail/show.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/steps/mail') 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); } } -- cgit v1.2.3