1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17062] Call search service using dependency injection

PHPBB3-17062
This commit is contained in:
Ruben Calvo
2022-11-26 16:31:56 +01:00
parent 1b6902c4bf
commit 6fc476c692
2 changed files with 29 additions and 69 deletions

View File

@@ -130,13 +130,8 @@ services:
cron.task.core.tidy_search:
class: phpbb\cron\task\core\tidy_search
arguments:
- '%core.root_path%'
- '%core.php_ext%'
- '@auth'
- '@config'
- '@dbal.conn'
- '@user'
- '@dispatcher'
- '@search.backend_factory'
calls:
- [set_name, [cron.task.core.tidy_search]]
tags: