From 065964c07ca4949156073ff8cfeb6310702465be Mon Sep 17 00:00:00 2001 From: alec Date: Mon, 7 Sep 2009 12:25:10 +0000 Subject: - 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 --- roundcubemail/program/steps/mail/move_del.inc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'roundcubemail/program/steps') 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) { -- cgit v1.2.3