summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-06-05 16:13:24 +0000
committeralecpl <alec@alec.pl>2009-06-05 16:13:24 +0000
commit0b2ce91f25aed4c174c437e679155d30bd0387bf (patch)
tree4160c737d4eb52901381292ab05a1a8cb436eea3 /program/include/rcube_imap.php
parentcf7f222870eac0e3cb84c43ea2c7ee8b9ce206ca (diff)
- Reviewed/fixed skip_deleted/read_when_deleted/flag_for_deletion options handling in UI
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index fe2f770f2..7b24d2307 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -1627,13 +1627,9 @@ class rcube_imap
// send expunge command in order to have the moved message
// really deleted from the source mailbox
if ($moved) {
- // but only when flag_for_deletion is set to false
- if (!rcmail::get_instance()->config->get('flag_for_deletion', false))
- {
- $this->_expunge($from_mbox, FALSE, $a_uids);
- $this->_clear_messagecount($from_mbox);
- $this->_clear_messagecount($to_mbox);
- }
+ $this->_expunge($from_mbox, FALSE, $a_uids);
+ $this->_clear_messagecount($from_mbox);
+ $this->_clear_messagecount($to_mbox);
}
// moving failed
else if (rcmail::get_instance()->config->get('delete_always', false)) {