mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11201] Inject table names rather then using constants
PHPBB3-11201
This commit is contained in:
@@ -7,6 +7,9 @@ services:
|
||||
- @request
|
||||
- @template
|
||||
- @user
|
||||
- %tables.profile_fields%
|
||||
- %tables.profile_fields_language%
|
||||
- %tables.profile_fields_data%
|
||||
calls:
|
||||
- [set_type_collection, [@profilefields.type_collection]]
|
||||
|
||||
@@ -14,6 +17,7 @@ services:
|
||||
class: \phpbb\profilefields\lang_helper
|
||||
arguments:
|
||||
- @dbal.conn
|
||||
- %tables.profile_fields_options_language%
|
||||
|
||||
profilefields.type_collection:
|
||||
class: phpbb\di\service_collection
|
||||
|
@@ -10,6 +10,10 @@ parameters:
|
||||
tables.modules: %core.table_prefix%modules
|
||||
tables.notification_types: %core.table_prefix%notification_types
|
||||
tables.notifications: %core.table_prefix%notifications
|
||||
tables.profile_fields: %core.table_prefix%profile_fields
|
||||
tables.profile_fields_data: %core.table_prefix%profile_fields_data
|
||||
tables.profile_fields_options_language: %core.table_prefix%profile_fields_lang
|
||||
tables.profile_fields_language: %core.table_prefix%profile_lang
|
||||
tables.posts: %core.table_prefix%posts
|
||||
tables.topics: %core.table_prefix%topics
|
||||
tables.user_notifications: %core.table_prefix%user_notifications
|
||||
|
Reference in New Issue
Block a user