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:
@@ -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%'
|
||||
|
@@ -68,5 +68,3 @@ services:
|
||||
|
||||
viewonline_helper:
|
||||
class: phpbb\viewonline_helper
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
|
@@ -5,7 +5,6 @@ services:
|
||||
- '@service_container'
|
||||
- '@dbal.conn'
|
||||
- '@config'
|
||||
- '@filesystem'
|
||||
- '%tables.ext%'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
@@ -23,7 +23,6 @@ services:
|
||||
- '@router'
|
||||
- '@symfony_request'
|
||||
- '@request'
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
||||
|
@@ -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'
|
@@ -24,8 +24,6 @@ services:
|
||||
|
||||
template.twig.loader:
|
||||
class: phpbb\template\twig\loader
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
|
||||
template.twig.extensions.collection:
|
||||
class: phpbb\di\service_collection
|
||||
|
@@ -31,7 +31,6 @@ services:
|
||||
file_locator:
|
||||
class: phpbb\routing\file_locator
|
||||
arguments:
|
||||
- '@filesystem'
|
||||
- '%core.root_path%'
|
||||
|
||||
kernel_exception_subscriber:
|
||||
@@ -50,7 +49,6 @@ services:
|
||||
class: phpbb\path_helper
|
||||
arguments:
|
||||
- '@symfony_request'
|
||||
- '@filesystem'
|
||||
- '@request'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
|
Reference in New Issue
Block a user