New: Function dol_now('tzuser') is now supported.

This commit is contained in:
Laurent Destailleur 2010-12-08 13:13:18 +00:00
parent 6846333ec8
commit 390bc32567

View File

@ -642,7 +642,7 @@ class ActionComm extends CommonObject
if ($cachedelay)
{
$nowgmt = dol_now();
$nowgmt = dol_now('gmt');
if (filemtime($outputfile) > ($nowgmt - $cachedelay))
{
dol_syslog("ActionComm::build_exportfile file ".$outputfile." is not older than now - cachedelay (".$nowgmt." - ".$cachedelay."). Build is canceled");