mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 05:55:15 +02:00
[ticket/15276] Remove unused dependency
PHPBB3-15276
This commit is contained in:
parent
bb886667d2
commit
b255209574
@ -65,7 +65,6 @@ services:
|
|||||||
- '@path_helper'
|
- '@path_helper'
|
||||||
- '@dispatcher'
|
- '@dispatcher'
|
||||||
- '@files.factory'
|
- '@files.factory'
|
||||||
- '@cache.driver'
|
|
||||||
calls:
|
calls:
|
||||||
- [set_name, [avatar.driver.upload]]
|
- [set_name, [avatar.driver.upload]]
|
||||||
tags:
|
tags:
|
||||||
|
@ -61,11 +61,6 @@ class upload extends \phpbb\avatar\driver\driver
|
|||||||
*/
|
*/
|
||||||
protected $php_ini;
|
protected $php_ini;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var \phpbb\cache\driver\driver_interface
|
|
||||||
*/
|
|
||||||
protected $cache;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a driver object
|
* 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\event\dispatcher_interface $dispatcher phpBB Event dispatcher object
|
||||||
* @param \phpbb\files\factory $files_factory File classes factory
|
* @param \phpbb\files\factory $files_factory File classes factory
|
||||||
* @param IniGetWrapper $php_ini ini_get() wrapper
|
* @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->config = $config;
|
||||||
$this->phpbb_root_path = $phpbb_root_path;
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
@ -89,7 +83,6 @@ class upload extends \phpbb\avatar\driver\driver
|
|||||||
$this->dispatcher = $dispatcher;
|
$this->dispatcher = $dispatcher;
|
||||||
$this->files_factory = $files_factory;
|
$this->files_factory = $files_factory;
|
||||||
$this->php_ini = $php_ini;
|
$this->php_ini = $php_ini;
|
||||||
$this->cache = $cache;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user