mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/14257] Add cron tasks for reparsing text
PHPBB3-14257
This commit is contained in:
@@ -146,3 +146,120 @@ services:
|
||||
- [set_name, [cron.task.core.tidy_warnings]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.contact_admin_info:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.contact_admin_info]]
|
||||
- [set_reparser, [text_reparser.contact_admin_info]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.forum_description:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.forum_description]]
|
||||
- [set_reparser, [text_reparser.forum_description]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.forum_rules:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.forum_rules]]
|
||||
- [set_reparser, [text_reparser.forum_rules]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.group_description:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.group_description]]
|
||||
- [set_reparser, [text_reparser.group_description]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.pm_text:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.pm_text]]
|
||||
- [set_reparser, [text_reparser.pm_text]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.poll_option:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.poll_option]]
|
||||
- [set_reparser, [text_reparser.poll_option]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.poll_title:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.poll_title]]
|
||||
- [set_reparser, [text_reparser.poll_title]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.post_text:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.post_text]]
|
||||
- [set_reparser, [text_reparser.post_text]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
||||
cron.task.text_reparser.user_signature:
|
||||
class: phpbb\cron\task\text_reparser\reparser
|
||||
arguments:
|
||||
- @config
|
||||
- @config_text
|
||||
- @text_reparser.lock
|
||||
- @text_reparser_collection
|
||||
calls:
|
||||
- [set_name, [cron.task.text_reparser.user_signature]]
|
||||
- [set_reparser, [text_reparser.user_signature]]
|
||||
tags:
|
||||
- { name: cron.task }
|
||||
|
@@ -1,4 +1,11 @@
|
||||
services:
|
||||
text_reparser.lock:
|
||||
class: phpbb\lock\db
|
||||
arguments:
|
||||
- reparse_lock
|
||||
- @config
|
||||
- @dbal.conn
|
||||
|
||||
text_reparser_collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
|
Reference in New Issue
Block a user