mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
* Mail: fix deleting mails from draft folder does not respect "move to trash" in delete message preference
This commit is contained in:
parent
23e947566c
commit
64dd615257
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user