mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
related to hubzilla issue #831 - system.last_expire_day was not being set correctly, causing cron_daily to run more frequently than desired.
This commit is contained in:
parent
9daa3b85c8
commit
1af844e474
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue