mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +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
66bb77b37c
commit
9e1d9e143e
@ -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