From 0b2ce91f25aed4c174c437e679155d30bd0387bf Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 05 Jun 2009 12:13:24 -0400 Subject: [PATCH] - Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI --- program/steps/mail/func.inc | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 9b8398e..154fd7e 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -89,6 +89,13 @@ $OUTPUT->set_env('quota', $IMAP->get_capability('quota')); $OUTPUT->set_env('delimiter', $IMAP->get_hierarchy_delimiter()); + if ($CONFIG['flag_for_deletion']) + $OUTPUT->set_env('flag_for_deletion', true); + if ($CONFIG['read_when_deleted']) + $OUTPUT->set_env('read_when_deleted', true); + if ($CONFIG['skip_deleted']) + $OUTPUT->set_env('skip_deleted', true); + if ($CONFIG['trash_mbox']) $OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']); if ($CONFIG['drafts_mbox']) -- Gitblit v1.9.1