From 67f1f85146c92f71b9dbfa9226d1150f2f654bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Thu, 20 Jul 2017 04:11:46 +0200 Subject: [PATCH] [ticket/15287] Remove unused services PHPBB3-15287 --- phpBB/config/default/container/services_storage.yml | 1 - phpBB/phpbb/storage/adapter_factory.php | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/phpBB/config/default/container/services_storage.yml b/phpBB/config/default/container/services_storage.yml index 4a14f00962..abf51d5f97 100644 --- a/phpBB/config/default/container/services_storage.yml +++ b/phpBB/config/default/container/services_storage.yml @@ -4,7 +4,6 @@ services: class: phpbb\storage\adapter_factory arguments: - '@config' - - '@service_container' - '@storage.adapter_collection' - '@storage.provider_collection' diff --git a/phpBB/phpbb/storage/adapter_factory.php b/phpBB/phpbb/storage/adapter_factory.php index b63a10fea6..f7a0a5f06e 100644 --- a/phpBB/phpbb/storage/adapter_factory.php +++ b/phpBB/phpbb/storage/adapter_factory.php @@ -15,19 +15,16 @@ namespace phpbb\storage; use phpbb\config\config; use phpbb\di\service_collection; -use Symfony\Component\DependencyInjection\ContainerInterface; class adapter_factory { protected $config; - protected $container; protected $adapters; protected $providers; - public function __construct(config $config, ContainerInterface $container, service_collection $adapters, service_collection $providers) + public function __construct(config $config, service_collection $adapters, service_collection $providers) { $this->config = $config; - $this->container = $container; $this->adapters = $adapters; $this->providers = $providers; }