File: phpbb/db/migration/profilefield_base_migration.php
Unmodified
Added
Modified
Removed
Line 13 | Line 13 |
---|
namespace phpbb\db\migration;
|
namespace phpbb\db\migration;
|
abstract class profilefield_base_migration extends \phpbb\db\migration\migration
| abstract class profilefield_base_migration extends container_aware_migration
|
{ protected $profilefield_name;
| { protected $profilefield_name;
|
Line 191 | Line 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 237 | Line 238 |
---|
if ($profile_row === null) {
|
if ($profile_row === null) {
|
global $phpbb_container; $manager = $phpbb_container->get('profilefields.manager');
| $manager = $this->container->get('profilefields.manager');
|
$profile_row = $manager->build_insert_sql_array(array()); }
| $profile_row = $manager->build_insert_sql_array(array()); }
|