diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2014-01-18 12:36:18 +0100 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2014-01-18 12:36:18 +0100 |
| commit | 431fa7b59321376fa7ceb44ac62de30c6edb29a8 (patch) | |
| tree | 7b4de3dcee485b7075bc1eeb4ac268d6045c42b6 /phpBB/config | |
| parent | 39ff387d36001c14dc2130feaf811d51e946c886 (diff) | |
| download | forums-431fa7b59321376fa7ceb44ac62de30c6edb29a8.tar forums-431fa7b59321376fa7ceb44ac62de30c6edb29a8.tar.gz forums-431fa7b59321376fa7ceb44ac62de30c6edb29a8.tar.bz2 forums-431fa7b59321376fa7ceb44ac62de30c6edb29a8.tar.xz forums-431fa7b59321376fa7ceb44ac62de30c6edb29a8.zip | |
[ticket/11201] Inject table names rather then using constants
PHPBB3-11201
Diffstat (limited to 'phpBB/config')
| -rw-r--r-- | phpBB/config/profilefields.yml | 4 | ||||
| -rw-r--r-- | phpBB/config/tables.yml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/config/profilefields.yml b/phpBB/config/profilefields.yml index 5aa30ac87a..6c6ccedcea 100644 --- a/phpBB/config/profilefields.yml +++ b/phpBB/config/profilefields.yml @@ -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 diff --git a/phpBB/config/tables.yml b/phpBB/config/tables.yml index 0d364eb6b0..e4f7bda89b 100644 --- a/phpBB/config/tables.yml +++ b/phpBB/config/tables.yml @@ -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 |
