From 390bc32567e0dbd9327b8df677f4f4e4aa097ae1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 8 Dec 2010 13:13:18 +0000 Subject: [PATCH] New: Function dol_now('tzuser') is now supported. --- htdocs/comm/action/class/actioncomm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 2483ff70a3d..be4d712d777 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -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");