diff options
author | Cesar G <prototech91@gmail.com> | 2015-11-05 13:52:04 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2015-11-05 13:52:04 -0800 |
commit | a92083169a181a6524e383de657c78af1bff2887 (patch) | |
tree | 22ced5c5a6b32e55ccf20ac4f1a8ad9462dd91b8 /phpBB/phpbb/files/upload.php | |
parent | 402f36e42daf2ab09934ccf266deeb6d8a7d5b23 (diff) | |
download | forums-a92083169a181a6524e383de657c78af1bff2887.tar forums-a92083169a181a6524e383de657c78af1bff2887.tar.gz forums-a92083169a181a6524e383de657c78af1bff2887.tar.bz2 forums-a92083169a181a6524e383de657c78af1bff2887.tar.xz forums-a92083169a181a6524e383de657c78af1bff2887.zip |
[ticket/14273] Remove unused core.root_path dependency in files.upload service
PHPBB3-14273
Diffstat (limited to 'phpBB/phpbb/files/upload.php')
-rw-r--r-- | phpBB/phpbb/files/upload.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/phpbb/files/upload.php b/phpBB/phpbb/files/upload.php index e011e714e5..a9bf74094d 100644 --- a/phpBB/phpbb/files/upload.php +++ b/phpBB/phpbb/files/upload.php @@ -65,9 +65,6 @@ class upload /** @var request_interface Request class */ protected $request; - /** @var string phpBB root path */ - protected $phpbb_root_path; - /** * Init file upload class. * @@ -76,16 +73,14 @@ class upload * @param language $language Language class * @param \bantu\IniGetWrapper\IniGetWrapper $php_ini ini_get() wrapper * @param request_interface $request Request class - * @param string $phpbb_root_path phpBB root path */ - public function __construct(filesystem_interface $filesystem, factory $factory, language $language, \bantu\IniGetWrapper\IniGetWrapper $php_ini, request_interface $request, $phpbb_root_path) + public function __construct(filesystem_interface $filesystem, factory $factory, language $language, \bantu\IniGetWrapper\IniGetWrapper $php_ini, request_interface $request) { $this->filesystem = $filesystem; $this->factory = $factory; $this->language = $language; $this->php_ini = $php_ini; $this->request = $request; - $this->phpbb_root_path = $phpbb_root_path; } /** |