public function run()
{
if (!$this->config->get('populate_migration_refresh_before', false)) {
if ($this->config->get_time_remaining() < 1) {
$this->config->set('populate_migration_refresh_before', true);
throw new resource_limit_reached_exception();
}
}
$finder = $this->extension_manager->get_finder();
$migrations = $finder->core_path('phpbb/db/migration/data/')->set_extensions(array())->get_classes();
$this->migrator->populate_migrations($migrations);
}