diff --git a/api/src/Mail.php b/api/src/Mail.php index bef9e9d4f7..2ff1846576 100644 --- a/api/src/Mail.php +++ b/api/src/Mail.php @@ -3923,8 +3923,7 @@ class Mail $trashFolder = $this->getTrashFolder(); $draftFolder = $this->getDraftFolder(); //$GLOBALS['egw_info']['user']['preferences']['mail']['draftFolder']; $templateFolder = $this->getTemplateFolder(); //$GLOBALS['egw_info']['user']['preferences']['mail']['templateFolder']; - if((strtolower($_folder) == strtolower($trashFolder) && $deleteOptions == "move_to_trash") || - (strtolower($_folder) == strtolower($draftFolder))) { + if((strtolower($_folder) == strtolower($trashFolder) && $deleteOptions == "move_to_trash")) { $deleteOptions = "remove_immediately"; } if($this->icServer->getCurrentMailbox() != $_folder) {