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

[ticket/15253] Use storage helper methods instead of filesystem methods

PHPBB3-15253
This commit is contained in:
Rubén Calvo
2017-06-26 15:49:31 +02:00
parent 21c9b0eeae
commit ecb79539f4
62 changed files with 109 additions and 598 deletions

View File

@@ -25,7 +25,6 @@ imports:
- { resource: services_profilefield.yml }
- { resource: services_report.yml }
- { resource: services_routing.yml }
- { resource: services_storage.yml }
- { resource: services_text_formatter.yml }
- { resource: services_text_reparser.yml }
- { resource: services_twig.yml }
@@ -106,7 +105,6 @@ services:
file_locator:
class: phpbb\routing\file_locator
arguments:
- '@filesystem'
- '%core.root_path%'
group_helper:
@@ -130,7 +128,6 @@ services:
class: phpbb\path_helper
arguments:
- '@symfony_request'
- '@filesystem'
- '@request'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -68,5 +68,3 @@ services:
viewonline_helper:
class: phpbb\viewonline_helper
arguments:
- '@filesystem'

View File

@@ -5,7 +5,6 @@ services:
- '@service_container'
- '@dbal.conn'
- '@config'
- '@filesystem'
- '%tables.ext%'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -23,7 +23,6 @@ services:
- '@router'
- '@symfony_request'
- '@request'
- '@filesystem'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -1,16 +0,0 @@
services:
storage.adapter.avatar:
class: phpbb\storage\adapter\local
arguments:
- '@config'
- '@filesystem'
- '%core.root_path%'
- 'avatar_path'
storage.avatar:
class: phpbb\storage\storage
arguments:
- '@storage.adapter.avatar'
storage.controller:
class: phpbb\storage\controller
arguments:
- '@service_container'

View File

@@ -24,8 +24,6 @@ services:
template.twig.loader:
class: phpbb\template\twig\loader
arguments:
- '@filesystem'
template.twig.extensions.collection:
class: phpbb\di\service_collection