2
0
forked from Wavyzz/dolibarr

Fix: Deletion of files was broken

This commit is contained in:
Laurent Destailleur
2014-01-19 22:43:36 +01:00
parent becd65f9d3
commit 79e4c283db
2 changed files with 11 additions and 4 deletions

View File

@@ -726,6 +726,8 @@ function dol_delete_file($file,$disableglob=0,$nophperrors=0,$nohook=0,$object=n
$langs->load("other");
$langs->load("errors");
dol_syslog("dol_delete_file file=".$file." disableglob=".$disableglob." nophperrors=".$nophperrors." nohook=".$nohook);
if (empty($nohook))
{
$hookmanager->initHooks(array('fileslib'));