New: Function dol_now('tzuser') is now supported.
This commit is contained in:
parent
6846333ec8
commit
390bc32567
@ -642,7 +642,7 @@ class ActionComm extends CommonObject
|
|||||||
|
|
||||||
if ($cachedelay)
|
if ($cachedelay)
|
||||||
{
|
{
|
||||||
$nowgmt = dol_now();
|
$nowgmt = dol_now('gmt');
|
||||||
if (filemtime($outputfile) > ($nowgmt - $cachedelay))
|
if (filemtime($outputfile) > ($nowgmt - $cachedelay))
|
||||||
{
|
{
|
||||||
dol_syslog("ActionComm::build_exportfile file ".$outputfile." is not older than now - cachedelay (".$nowgmt." - ".$cachedelay."). Build is canceled");
|
dol_syslog("ActionComm::build_exportfile file ".$outputfile." is not older than now - cachedelay (".$nowgmt." - ".$cachedelay."). Build is canceled");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user