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

[ticket/11201] Rename profilefields class to manager

PHPBB3-11201
This commit is contained in:
Joas Schilling
2014-02-02 12:53:29 +01:00
parent 514a59ffa7
commit 7bcbdfc1b1
13 changed files with 33 additions and 33 deletions

View File

@@ -276,7 +276,7 @@ function user_add($user_row, $cp_data = false)
{
$cp_data['user_id'] = (int) $user_id;
$cp = $phpbb_container->get('profilefields');
$cp = $phpbb_container->get('profilefields.manager');
$sql = 'INSERT INTO ' . PROFILE_FIELDS_DATA_TABLE . ' ' .
$db->sql_build_array('INSERT', $cp->build_insert_sql_array($cp_data));
$db->sql_query($sql);