mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 23:37:39 +02:00
[ticket/15379] Fix the assignments in reparser cron job
PHPBB3-15379
This commit is contained in:
@@ -85,7 +85,7 @@ class reparser extends \phpbb\cron\task\base
|
|||||||
|
|
||||||
if ($this->resume_data === null)
|
if ($this->resume_data === null)
|
||||||
{
|
{
|
||||||
$this->reparser_manager->get_resume_data($this->reparser_name);
|
$this->resume_data = $this->reparser_manager->get_resume_data($this->reparser_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ class reparser extends \phpbb\cron\task\base
|
|||||||
{
|
{
|
||||||
if ($this->resume_data === null)
|
if ($this->resume_data === null)
|
||||||
{
|
{
|
||||||
$this->reparser_manager->get_resume_data($this->reparser_name);
|
$this->resume_data = $this->reparser_manager->get_resume_data($this->reparser_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($this->resume_data['range-max']) || $this->resume_data['range-max'] >= $this->resume_data['range-min'])
|
if (!isset($this->resume_data['range-max']) || $this->resume_data['range-max'] >= $this->resume_data['range-min'])
|
||||||
|
Reference in New Issue
Block a user