aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-18 16:14:01 -0700
committerzotlabs <mike@macgirvin.com>2017-07-18 16:14:01 -0700
commit1af844e474a039a72a9ac779985888816583c9dc (patch)
tree36f504bb07311acaf365f9a8a2ffc49e6cc95db1
parent9daa3b85c8b3ee48222a4b6c7c7ba70a3ca57fbb (diff)
downloadvolse-hubzilla-1af844e474a039a72a9ac779985888816583c9dc.tar.gz
volse-hubzilla-1af844e474a039a72a9ac779985888816583c9dc.tar.bz2
volse-hubzilla-1af844e474a039a72a9ac779985888816583c9dc.zip
related to hubzilla issue #831 - system.last_expire_day was not being set correctly, causing cron_daily to run more frequently than desired.
-rw-r--r--Zotlabs/Daemon/Cron_daily.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php
index 10e0e1d88..f0351fcdd 100644
--- a/Zotlabs/Daemon/Cron_daily.php
+++ b/Zotlabs/Daemon/Cron_daily.php
@@ -88,7 +88,7 @@ class Cron_daily {
call_hooks('cron_daily',datetime_convert());
- set_config('system','last_expire_day',$d2);
+ set_config('system','last_expire_day',intval(datetime_convert('UTC','UTC','now','d')));
/**
* End Cron Daily