diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-03 13:23:22 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-07-19 08:16:58 +0200 |
commit | 8977c71f8842f19077fdd0bfe27a4f48f2bc4726 (patch) | |
tree | 11fe663b2fe1f25160851c0a872b282072fc2857 /core/Controller | |
parent | d904293ba3759803bd7b31d8e87fadf24b48e837 (diff) | |
download | nextcloud-server-8977c71f8842f19077fdd0bfe27a4f48f2bc4726.tar.gz nextcloud-server-8977c71f8842f19077fdd0bfe27a4f48f2bc4726.zip |
Mixin scss icon api
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller')
-rw-r--r-- | core/Controller/SvgController.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/Controller/SvgController.php b/core/Controller/SvgController.php index b8e59d57d9f..4d71152f547 100644 --- a/core/Controller/SvgController.php +++ b/core/Controller/SvgController.php @@ -31,6 +31,7 @@ use OCP\AppFramework\Http\NotFoundResponse; use OCP\AppFramework\Utility\ITimeFactory; use OCP\Files\NotFoundException; use OCP\IRequest; +use OC\Template\IconsCacher; class SvgController extends Controller { @@ -40,13 +41,18 @@ class SvgController extends Controller { /** @var ITimeFactory */ protected $timeFactory; + /** @var IconsCacher */ + protected $iconsCacher; + public function __construct(string $appName, IRequest $request, - ITimeFactory $timeFactory) { + ITimeFactory $timeFactory, + IconsCacher $iconsCacher) { parent::__construct($appName, $request); $this->serverRoot = \OC::$SERVERROOT; $this->timeFactory = $timeFactory; + $this->iconsCacher = $iconsCacher; } /** |