1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/9687] Remove dependency on log and user services

PHPBB3-9687
This commit is contained in:
Oliver Schramm
2018-10-05 21:32:44 +02:00
committed by Marc Alexander
parent e7015bf1dd
commit 40b1d1e6ff
7 changed files with 169 additions and 245 deletions

View File

@@ -6,12 +6,8 @@ services:
- '@ban.type_collection'
- '@cache'
- '@dbal.conn'
- '@log'
- '@user'
- '%tables.bans%'
- '%tables.users%'
- '%tables.sessions%'
- '%tables.sessions_keys%'
# ----- Ban types -----
ban.type_collection:
@@ -25,8 +21,9 @@ services:
class: \phpbb\ban\type\email
arguments:
- '@dbal.conn'
- '@user'
- '%tables.users%'
- '%tables.sessions%'
- '%tables.sessions_keys%'
tags:
- { name: ban.type }
@@ -34,8 +31,8 @@ services:
class: \phpbb\ban\type\user
arguments:
- '@dbal.conn'
- '@log'
- '@user'
- '%tables.users%'
- '%tables.sessions%'
- '%tables.sessions_keys%'
tags:
- { name: ban.type }