FIX no need to remove file into mail form, the temp dir will be deleted after any sending

This commit is contained in:
Alexis Algoud 2015-09-23 11:11:19 +02:00
parent 34468644ef
commit 2d35124c71

View File

@ -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;