phpBB

Code Changes

File: phpbb/db/migration/profilefield_base_migration.php

  Unmodified   Added   Modified   Removed
Line 191Line 191
		$insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->table_prefix . 'profile_fields_data');
$limit = 250;
$converted_users = 0;

		$insert_buffer = new \phpbb\db\sql_insert_buffer($this->db, $this->table_prefix . 'profile_fields_data');
$limit = 250;
$converted_users = 0;

 
		$start = $start ?: 0;


$sql = 'SELECT user_id, ' . $this->user_column_name . '
FROM ' . $this->table_prefix . 'users


$sql = 'SELECT user_id, ' . $this->user_column_name . '
FROM ' . $this->table_prefix . 'users

Line 237Line 238

if ($profile_row === null)
{


if ($profile_row === null)
{

 
			/* @var $manager \phpbb\profilefields\manager */

			$manager = $this->container->get('profilefields.manager');
$profile_row = $manager->build_insert_sql_array(array());
}

			$manager = $this->container->get('profilefields.manager');
$profile_row = $manager->build_insert_sql_array(array());
}