diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-01-15 11:40:03 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-01-15 12:15:41 +0100 |
commit | 5df7f76e6b810f08076b905f189bc7e4c3f8b8b1 (patch) | |
tree | 18a7ebc38aeb82b2be79c2f944307bd82c233167 /phpBB/config | |
parent | cd6bdc7b2719bea5c89e96efa5b175ed54a6b496 (diff) | |
download | forums-5df7f76e6b810f08076b905f189bc7e4c3f8b8b1.tar forums-5df7f76e6b810f08076b905f189bc7e4c3f8b8b1.tar.gz forums-5df7f76e6b810f08076b905f189bc7e4c3f8b8b1.tar.bz2 forums-5df7f76e6b810f08076b905f189bc7e4c3f8b8b1.tar.xz forums-5df7f76e6b810f08076b905f189bc7e4c3f8b8b1.zip |
[ticket/11201] Split language options into a new class
Otherwise we run into a circular dependency
PHPBB3-11201
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/profilefields.yml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/phpBB/config/profilefields.yml b/phpBB/config/profilefields.yml index 2cecb80534..95242fe10c 100644 --- a/phpBB/config/profilefields.yml +++ b/phpBB/config/profilefields.yml @@ -5,14 +5,27 @@ services: - @auth - @dbal.conn - @service_container + #- @profilefields.type_collection - @request - @template - @user + profilefields.lang_helper: + class: \phpbb\profilefields\lang_helper + arguments: + - @dbal.conn + + profilefields.type_collection: + class: phpbb\di\service_collection + arguments: + - @service_container + tags: + - { name: service_collection, tag: profilefield.type } + profilefields.type.bool: class: \phpbb\profilefields\type\type_bool arguments: - - @profilefields + - @profilefields.lang_helper - @request - @template - @user @@ -32,7 +45,7 @@ services: profilefields.type.dropdown: class: \phpbb\profilefields\type\type_dropdown arguments: - - @profilefields + - @profilefields.lang_helper - @request - @template - @user |