1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/14742] Make $last_run_migration protected

PHPBB3-14742
This commit is contained in:
Oliver Schramm
2016-08-11 15:37:53 +02:00
parent 6078bae7f8
commit b00a39b9ad
2 changed files with 14 additions and 8 deletions

View File

@@ -211,13 +211,6 @@ while (!$migrator->finished())
phpbb_end_update($cache, $config);
}
$state = array_merge(array(
'migration_schema_done' => false,
'migration_data_done' => false,
),
$migrator->last_run_migration['state']
);
// Are we approaching the time limit? If so we want to pause the update and continue after refreshing
if ((time() - $update_start_time) >= $safe_time_limit)
{