phpbb\install\module\install_finish\task\populate_migrations::run PHP Method

run() public method

public run ( )
    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);
    }