summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/func.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-08 16:34:36 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-04-08 16:34:36 +0000
commit5eda37f855611f3c634a38dd4a8211d7d3cd1c9d (patch)
treec2ac113a9130dc206e25eb9a1db3c3980530bd33 /roundcubemail/program/steps/mail/func.inc
parentca8dd91021c5e298689e62fb31576d8045c376c3 (diff)
- Add option to delete messages instead of moving to Trash when in Junk folder (#1486686)
git-svn-id: https://svn.roundcube.net/trunk@6052 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/func.inc')
-rw-r--r--roundcubemail/program/steps/mail/func.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 7d1fbaab4..8dcd37b20 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/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'])