Skip to content

Commit

Permalink
FIX no need to remove file into mail form, the temp dir will be delet…
Browse files Browse the repository at this point in the history
…ed after any sending
  • Loading branch information
Alexis Algoud committed Sep 23, 2015
1 parent 3446864 commit 2d35124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/files.lib.php
Expand Up @@ -1115,7 +1115,7 @@ function dol_add_file_process($upload_dir, $allowoverwrite=0, $donotupdatesessio
* @param int $donotdeletefile 1=Do not delete physically file
* @return void
*/
function dol_remove_file_process($filenb,$donotupdatesession=0,$donotdeletefile=0)
function dol_remove_file_process($filenb,$donotupdatesession=0,$donotdeletefile=1)
{
global $db,$user,$conf,$langs,$_FILES;

Expand Down

0 comments on commit 2d35124

Please sign in to comment.