Deletion of dir was not complete.
This commit is contained in:
parent
10f967e07a
commit
f89d74d6bc
@ -1037,7 +1037,7 @@ class Expedition extends CommonObject
|
||||
}
|
||||
if (file_exists($dir))
|
||||
{
|
||||
if (!dol_delete_dir($dir))
|
||||
if (!dol_delete_dir_recursive($dir))
|
||||
{
|
||||
$this->error=$langs->trans("ErrorCanNotDeleteDir",$dir);
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user