1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[feature/auth-refactor] Turn provider_db into a service

Removes globals from provider_db and turns it into a service.

PHPBB3-9734
This commit is contained in:
Joseph Warner
2013-06-20 21:55:25 -04:00
parent 6601c3d64e
commit 24825b9dc8
2 changed files with 74 additions and 41 deletions

View File

@@ -1 +1,18 @@
services:
auth.provider.db:
class: phpbb_auth_provider_db
arguments:
- @dbal.conn
- @config
- @request
- @user
- %core.root_path%
- %core.php_ext%
auth.provider.apache:
class: phpbb_auth_provider_apache
arguments:
auth.provider.ldap:
class: phpbb_auth_provider_ldap
arguments: