Merge pull request #4170 from Elsensee/ticket/14461

[ticket/14461] Correctly count up $processed_records
This commit is contained in:
Marc Alexander 2016-02-06 16:27:04 +01:00
commit 01b29b8464

View file

@ -81,7 +81,7 @@ class text_reparser extends \phpbb\db\migration\container_aware_migration
$end = max(1, $resume_data['current']);
$reparser->reparse_range($start, $end);
$processed_records = $end - $start + 1;
$processed_records += $end - $start + 1;
$resume_data['current'] = $start - 1;
if ($start === 1)