1
0
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:
Oliver Schramm
2015-11-01 03:49:01 +01:00
parent 081424a6c4
commit 900ccd79af
4 changed files with 22 additions and 25 deletions

View File

@@ -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'];
}