summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-07 12:25:10 +0000
committeralecpl <alec@alec.pl>2009-09-07 12:25:10 +0000
commiteb4b147badf67f7ddad520ec8be736333c930686 (patch)
tree464e24c1e1926f21b72a9aa38deb7427522bbe8f /program/steps/mail
parent4a63f1efaff83dd03e663ed1a432a15dc0100be3 (diff)
- fix cache flushing after message delete with read_when_deleted=true + some code cleanup
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/move_del.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc
index 103d69e48..fbfbabf35 100644
--- a/program/steps/mail/move_del.inc
+++ b/program/steps/mail/move_del.inc
@@ -33,10 +33,6 @@ if ($RCMAIL->action=='moveto' && !empty($_POST['_uid']) && !empty($_POST['_targe
$target = get_input_value('_target_mbox', RCUBE_INPUT_POST);
$mbox = get_input_value('_mbox', RCUBE_INPUT_POST);
- // flag messages as read before moving them
- if ($CONFIG['read_when_deleted'] && $target == $CONFIG['trash_mbox'])
- $IMAP->set_flag($uids, 'SEEN');
-
$moved = $IMAP->move_message($uids, $target, $mbox);
if (!$moved) {