mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/13986] Fixed resume data to carry through multiple runs
Options restored from a previous execution should carry to the next resumed execution PHPBB3-13986
This commit is contained in:
@@ -296,9 +296,9 @@ class reparse extends \phpbb\console\command\command
|
|||||||
protected function update_resume_data($name, $current)
|
protected function update_resume_data($name, $current)
|
||||||
{
|
{
|
||||||
$this->resume_data[$name] = array(
|
$this->resume_data[$name] = array(
|
||||||
'range-min' => $this->input->getOption('range-min'),
|
'range-min' => $this->get_option($name, 'range-min'),
|
||||||
'range-max' => $current,
|
'range-max' => $current,
|
||||||
'range-size' => $this->input->getOption('range-size'),
|
'range-size' => $this->get_option($name, 'range-size'),
|
||||||
);
|
);
|
||||||
$this->save_resume_data();
|
$this->save_resume_data();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user