mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 19:54:12 +02:00
[ticket/14257] Fix CLI reparser and set cron interval
PHPBB3-14257
This commit is contained in:
@@ -122,7 +122,7 @@ class reparser extends \phpbb\cron\task\base
|
||||
}
|
||||
}
|
||||
|
||||
if ($this->config[$this->reparser_name . '_cron_interval'] != -1)
|
||||
if ($this->config[$this->reparser_name . '_cron_interval'])
|
||||
{
|
||||
return $this->config[$this->reparser_name . '_last_cron'] < time() - $this->config[$this->reparser_name . '_cron_interval'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user