1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-22 15:31:28 +02:00

[ticket/15276] Remove unused code

PHPBB3-15276
This commit is contained in:
Rubén Calvo 2017-09-07 15:10:52 +02:00
parent ed282199ac
commit a8ba4a99e3
6 changed files with 0 additions and 33 deletions

View File

@ -81,7 +81,6 @@ abstract class driver implements \phpbb\avatar\driver\driver_interface
* @param string $php_ext PHP file extension
* @param \phpbb\path_helper $path_helper phpBB path helper
* @param \phpbb\cache\driver\driver_interface $cache Cache driver
* @param \bantu\IniGetWrapper\IniGetWrapper $php_ini Init get wrapper
*/
public function __construct(\phpbb\config\config $config, \FastImageSize\FastImageSize $imagesize, $phpbb_root_path, $php_ext, \phpbb\path_helper $path_helper, \phpbb\cache\driver\driver_interface $cache = null)
{

View File

@ -25,18 +25,12 @@ class form extends base
/** @var factory Files factory */
protected $factory;
/** @var language */
protected $language;
/** @var plupload */
protected $plupload;
/** @var request_interface */
protected $request;
/** @var \phpbb\files\upload */
protected $upload;
/**
* Construct a form upload type
*

View File

@ -25,18 +25,12 @@ class form_storage extends base
/** @var factory Files factory */
protected $factory;
/** @var language */
protected $language;
/** @var plupload */
protected $plupload;
/** @var request_interface */
protected $request;
/** @var \phpbb\files\upload */
protected $upload;
/**
* Construct a form upload type
*
@ -71,7 +65,6 @@ class form_storage extends base
* @param string $form_name Form name assigned to the file input field (if it is an array, the key has to be specified)
*
* @return filespec $file Object "filespec" is returned, all further operations can be done with this object
* @access public
*/
protected function form_upload($form_name)
{

View File

@ -24,15 +24,9 @@ class local extends base
/** @var factory Files factory */
protected $factory;
/** @var language */
protected $language;
/** @var request_interface */
protected $request;
/** @var \phpbb\files\upload */
protected $upload;
/**
* Construct a form upload type
*

View File

@ -28,15 +28,9 @@ class remote extends base
/** @var factory Files factory */
protected $factory;
/** @var language */
protected $language;
/** @var request_interface */
protected $request;
/** @var \phpbb\files\upload */
protected $upload;
/** @var string phpBB root path */
protected $phpbb_root_path;

View File

@ -28,15 +28,9 @@ class remote_storage extends base
/** @var factory Files factory */
protected $factory;
/** @var language */
protected $language;
/** @var request_interface */
protected $request;
/** @var \phpbb\files\upload */
protected $upload;
/** @var string phpBB root path */
protected $phpbb_root_path;
@ -75,7 +69,6 @@ class remote_storage extends base
*
* @param string $upload_url URL pointing to file to upload, for example http://www.foobar.com/example.gif
* @return filespec $file Object "filespec" is returned, all further operations can be done with this object
* @access public
*/
protected function remote_upload($upload_url)
{