Merge pull request #3719 from Dolibarr/revert-3573-FIX_remove_file_from_mail_remove_file
Revert "FIX no need to remove file into mail form"
This commit is contained in:
commit
84f5b72d2b
@ -1115,7 +1115,7 @@ function dol_add_file_process($upload_dir, $allowoverwrite=0, $donotupdatesessio
|
|||||||
* @param int $donotdeletefile 1=Do not delete physically file
|
* @param int $donotdeletefile 1=Do not delete physically file
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function dol_remove_file_process($filenb,$donotupdatesession=0,$donotdeletefile=1)
|
function dol_remove_file_process($filenb,$donotupdatesession=0,$donotdeletefile=0)
|
||||||
{
|
{
|
||||||
global $db,$user,$conf,$langs,$_FILES;
|
global $db,$user,$conf,$langs,$_FILES;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user