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:
@@ -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 }
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user