Fix trans, add log

This commit is contained in:
Laurent Destailleur 2020-09-10 17:08:51 +02:00
parent f06737097f
commit 8c9f2b8458

View File

@ -1170,6 +1170,7 @@ function dol_delete_file($file, $disableglob = 0, $nophperrors = 0, $nohook = 0,
if (empty($nohook) && $reshook != 0) // reshook = 0 to do standard actions, 1 = ok and replace, -1 = ko
{
dol_syslog("reshook=".$reshook);
if ($reshook < 0) return false;
return true;
} else {