diff options
author | alecpl <alec@alec.pl> | 2012-04-08 16:34:36 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2012-04-08 16:34:36 +0000 |
commit | 1b30a710cfe7fb2917ed337c52b06bb2236e1a05 (patch) | |
tree | 80465019a2941d6fa4ea8c67cb71e1c43d2e7447 /program/steps/mail/func.inc | |
parent | 84b028ce0054a053f4aa019f311b507bb9faed08 (diff) |
- Add option to delete messages instead of moving to Trash when in Junk folder (#1486686)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 7d1fbaab4..8dcd37b20 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -99,6 +99,8 @@ if (empty($RCMAIL->action) || $RCMAIL->action == 'list') { $OUTPUT->set_env('threads', $threading || $RCMAIL->storage->get_capability('THREAD')); $OUTPUT->set_env('preview_pane_mark_read', $RCMAIL->config->get('preview_pane_mark_read', 0)); + if ($CONFIG['delete_junk']) + $OUTPUT->set_env('delete_junk', true); if ($CONFIG['flag_for_deletion']) $OUTPUT->set_env('flag_for_deletion', true); if ($CONFIG['read_when_deleted']) |