1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 15:01:33 +02:00

[ticket/14285] Move functions from functions_download to controller

PHPBB3-14285
This commit is contained in:
Rubén Calvo
2018-06-30 03:56:31 +02:00
committed by rubencm
parent 8dcf8a4ddb
commit 2f043cdb61
5 changed files with 441 additions and 587 deletions

View File

@@ -13,6 +13,7 @@
namespace phpbb\storage\controller;
use phpbb\cache\service;
use phpbb\config\config;
use phpbb\storage\storage;
@@ -23,8 +24,9 @@ class avatar extends controller
protected $allowed_extensions = ['png', 'gif', 'jpg', 'jpeg'];
public function __construct(config $config, storage $storage)
public function __construct(service $cache, config $config, storage $storage)
{
$this->cache = $cache;
$this->config = $config;
$this->storage = $storage;
}