1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-29 10:39:19 +02:00

[ticket/15276] Remove unused dependency

PHPBB3-15276
This commit is contained in:
Rubén Calvo 2017-09-07 13:36:25 +02:00
parent bb886667d2
commit b255209574
2 changed files with 1 additions and 9 deletions

View File

@ -65,7 +65,6 @@ services:
- '@path_helper'
- '@dispatcher'
- '@files.factory'
- '@cache.driver'
calls:
- [set_name, [avatar.driver.upload]]
tags:

View File

@ -61,11 +61,6 @@ class upload extends \phpbb\avatar\driver\driver
*/
protected $php_ini;
/**
* @var \phpbb\cache\driver\driver_interface
*/
protected $cache;
/**
* Construct a driver object
*
@ -77,9 +72,8 @@ class upload extends \phpbb\avatar\driver\driver
* @param \phpbb\event\dispatcher_interface $dispatcher phpBB Event dispatcher object
* @param \phpbb\files\factory $files_factory File classes factory
* @param IniGetWrapper $php_ini ini_get() wrapper
* @param \phpbb\cache\driver\driver_interface $cache Cache driver
*/
public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\storage\storage $storage, \phpbb\path_helper $path_helper, \phpbb\event\dispatcher_interface $dispatcher, \phpbb\files\factory $files_factory, IniGetWrapper $php_ini, \phpbb\cache\driver\driver_interface $cache = null)
public function __construct(\phpbb\config\config $config, $phpbb_root_path, $php_ext, \phpbb\storage\storage $storage, \phpbb\path_helper $path_helper, \phpbb\event\dispatcher_interface $dispatcher, \phpbb\files\factory $files_factory, IniGetWrapper $php_ini)
{
$this->config = $config;
$this->phpbb_root_path = $phpbb_root_path;
@ -89,7 +83,6 @@ class upload extends \phpbb\avatar\driver\driver
$this->dispatcher = $dispatcher;
$this->files_factory = $files_factory;
$this->php_ini = $php_ini;
$this->cache = $cache;
}
/**