diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2015-02-15 22:32:39 +0100 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2015-02-15 22:32:39 +0100 |
| commit | 9b6e57de3dfb3348a6cfc29890eb41dfd51d7a5c (patch) | |
| tree | a7eaa2a0df729f69909275dfd34efe46c939b11f /phpBB/includes | |
| parent | 2042bfc5db2554d57934d515fe62f79a06263e05 (diff) | |
| parent | 1e3175cca3296eb04e3342766aa92ec74013431c (diff) | |
| download | forums-9b6e57de3dfb3348a6cfc29890eb41dfd51d7a5c.tar forums-9b6e57de3dfb3348a6cfc29890eb41dfd51d7a5c.tar.gz forums-9b6e57de3dfb3348a6cfc29890eb41dfd51d7a5c.tar.bz2 forums-9b6e57de3dfb3348a6cfc29890eb41dfd51d7a5c.tar.xz forums-9b6e57de3dfb3348a6cfc29890eb41dfd51d7a5c.zip | |
Merge pull request #3394 from nickvergessen/ticket/10748-postgresql
[ticket/10748][Part2] Split postgres DB tools into it's own class
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/acp/acp_profile.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php index a376b6189e..146e116cfd 100644 --- a/phpBB/includes/acp/acp_profile.php +++ b/phpBB/includes/acp/acp_profile.php @@ -117,7 +117,7 @@ class acp_profile $db->sql_query('DELETE FROM ' . PROFILE_FIELDS_LANG_TABLE . " WHERE field_id = $field_id"); $db->sql_query('DELETE FROM ' . PROFILE_LANG_TABLE . " WHERE field_id = $field_id"); - /* @var $db_tools \phpbb\db\tools */ + /* @var $db_tools \phpbb\db\tools\tools_interface */ $db_tools = $phpbb_container->get('dbal.tools'); $db_tools->sql_column_remove(PROFILE_FIELDS_DATA_TABLE, 'pf_' . $field_ident); @@ -886,8 +886,7 @@ class acp_profile if ($action == 'create') { $field_ident = 'pf_' . $field_ident; - - /* @var $db_tools \phpbb\db\tools */ + /* @var $db_tools \phpbb\db\tools\tools_interface */ $db_tools = $phpbb_container->get('dbal.tools'); $db_tools->sql_column_add(PROFILE_FIELDS_DATA_TABLE, $field_ident, array($profile_field->get_database_column_type(), null)); } |
