diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2015-10-26 01:39:52 +0100 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2015-10-26 01:39:52 +0100 |
commit | 25e2b17837f5b1c2330d07a86f88b25bb55d96c1 (patch) | |
tree | 565d21196a663847f932e1e9b5907c4015f54313 /phpBB/config | |
parent | 33500fd3728f6e3444d5479b09b941b2570ff47c (diff) | |
download | forums-25e2b17837f5b1c2330d07a86f88b25bb55d96c1.tar forums-25e2b17837f5b1c2330d07a86f88b25bb55d96c1.tar.gz forums-25e2b17837f5b1c2330d07a86f88b25bb55d96c1.tar.bz2 forums-25e2b17837f5b1c2330d07a86f88b25bb55d96c1.tar.xz forums-25e2b17837f5b1c2330d07a86f88b25bb55d96c1.zip |
[ticket/14257] Add text_reparser manager
PHPBB3-14257
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/default/container/services_console.yml | 4 | ||||
-rw-r--r-- | phpBB/config/default/container/services_cron.yml | 5 | ||||
-rw-r--r-- | phpBB/config/default/container/services_text_reparser.yml | 7 |
3 files changed, 14 insertions, 2 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index 9aba49b941..169bf82098 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -187,9 +187,9 @@ services: class: phpbb\console\command\reparser\reparse arguments: - @user - - @text_reparser_collection - - @config_text - @text_reparser.lock + - @text_reparser_collection + - @text_reparser.manager tags: - { name: console.command } diff --git a/phpBB/config/default/container/services_cron.yml b/phpBB/config/default/container/services_cron.yml index 53335a6101..4b76bdaf6a 100644 --- a/phpBB/config/default/container/services_cron.yml +++ b/phpBB/config/default/container/services_cron.yml @@ -153,6 +153,7 @@ services: - @config - @config_text - @text_reparser.lock + - @text_reparser.manager - @text_reparser_collection calls: - [set_name, [cron.task.text_reparser.pm_text]] @@ -166,6 +167,7 @@ services: - @config - @config_text - @text_reparser.lock + - @text_reparser.manager - @text_reparser_collection calls: - [set_name, [cron.task.text_reparser.poll_option]] @@ -179,6 +181,7 @@ services: - @config - @config_text - @text_reparser.lock + - @text_reparser.manager - @text_reparser_collection calls: - [set_name, [cron.task.text_reparser.poll_title]] @@ -192,6 +195,7 @@ services: - @config - @config_text - @text_reparser.lock + - @text_reparser.manager - @text_reparser_collection calls: - [set_name, [cron.task.text_reparser.post_text]] @@ -205,6 +209,7 @@ services: - @config - @config_text - @text_reparser.lock + - @text_reparser.manager - @text_reparser_collection calls: - [set_name, [cron.task.text_reparser.user_signature]] diff --git a/phpBB/config/default/container/services_text_reparser.yml b/phpBB/config/default/container/services_text_reparser.yml index db0aee03bc..d753775451 100644 --- a/phpBB/config/default/container/services_text_reparser.yml +++ b/phpBB/config/default/container/services_text_reparser.yml @@ -1,4 +1,11 @@ services: + text_reparser.manager: + class: phpbb\textreparser\manager + arguments: + - @config + - @config_text + - @text_reparser_collection + text_reparser.lock: class: phpbb\lock\db arguments: |