mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Added missing "cron_interval" default value
This commit is contained in:
parent
20bc12157e
commit
2711284827
2 changed files with 4 additions and 3 deletions
|
@ -30,9 +30,6 @@ class Cron
|
|||
$last = Config::get('system', 'last_cron');
|
||||
|
||||
$poll_interval = intval(Config::get('system', 'cron_interval'));
|
||||
if (! $poll_interval) {
|
||||
$poll_interval = 10;
|
||||
}
|
||||
|
||||
if ($last) {
|
||||
$next = $last + ($poll_interval * 60);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue