summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-07 12:25:10 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-09-07 12:25:10 +0000
commit065964c07ca4949156073ff8cfeb6310702465be (patch)
treed6cc70836efe40c5e54f3a6e94ab54a423dc46c9 /roundcubemail/program/steps
parent5faf94e01714e4b4e724187b0b81fa5a239b4982 (diff)
- fix cache flushing after message delete with read_when_deleted=true + some code cleanup
git-svn-id: https://svn.roundcube.net/trunk@2930 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/move_del.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/roundcubemail/program/steps/mail/move_del.inc b/roundcubemail/program/steps/mail/move_del.inc
index 103d69e48..fbfbabf35 100644
--- a/roundcubemail/program/steps/mail/move_del.inc
+++ b/roundcubemail/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) {