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

[ticket/12683] Move state related code to helper class

PHPBB3-12683
This commit is contained in:
rubencm
2021-04-09 18:20:50 +02:00
committed by Ruben Calvo
parent f1a2558cfe
commit 565c806eda
8 changed files with 275 additions and 102 deletions

View File

@@ -264,6 +264,7 @@ services:
- '@log'
- '@post.helper'
- '@search.backend_factory'
- '@search.state_helper'
- '@user'
tags:
- { name: console.command }
@@ -276,6 +277,7 @@ services:
- '@log'
- '@post.helper'
- '@search.backend_factory'
- '@search.state_helper'
- '@user'
tags:
- { name: console.command }

View File

@@ -1,5 +1,11 @@
services:
search.state_helper:
class: phpbb\search\state_helper
arguments:
- '@config'
- '@search.backend_collection'
# Search backends
search.fulltext.mysql:
class: phpbb\search\backend\fulltext_mysql