forked from extern/egroupware
Draft message suppose to be removed immediately after sent
This commit is contained in:
parent
f7d09e9ec0
commit
bdd81ceba0
@ -3332,7 +3332,7 @@ class mail_compose
|
|||||||
!(($_formData['to_infolog'] == 'on' || $_formData['to_tracker'] == 'on' || $_formData['to_calendar'] == 'on') && $this->sessionData['attachments']))
|
!(($_formData['to_infolog'] == 'on' || $_formData['to_tracker'] == 'on' || $_formData['to_calendar'] == 'on') && $this->sessionData['attachments']))
|
||||||
{
|
{
|
||||||
//error_log(__METHOD__.__LINE__."#".$this->sessionData['uid'].'#'.$this->sessionData['messageFolder']);
|
//error_log(__METHOD__.__LINE__."#".$this->sessionData['uid'].'#'.$this->sessionData['messageFolder']);
|
||||||
$mail_bo->deleteMessages(array($this->sessionData['uid']),$this->sessionData['messageFolder']);
|
$mail_bo->deleteMessages(array($this->sessionData['uid']),$this->sessionData['messageFolder'], 'remove_immediately');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Api\Exception $e)
|
catch (Api\Exception $e)
|
||||||
|
Loading…
Reference in New Issue
Block a user