diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-04 08:48:33 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-13 16:10:45 +0200 |
commit | 9a9409e31583c0fdd7c0bfe67f5f9177c7651830 (patch) | |
tree | e7e773ec86c9aca5d0939fc4e1df8c8b59f09f63 /lib/private/TemplateLayout.php | |
parent | f4058a2432f748ffff6d7e45f2fb79ca383f8dd1 (diff) | |
download | nextcloud-server-9a9409e31583c0fdd7c0bfe67f5f9177c7651830.tar.gz nextcloud-server-9a9409e31583c0fdd7c0bfe67f5f9177c7651830.zip |
Remove SCSSCacher
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index a25e23e9fc6..a5aabc04b61 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -46,7 +46,6 @@ use bantu\IniGetWrapper\IniGetWrapper; use OC\Search\SearchQuery; use OC\Template\JSCombiner; use OC\Template\JSConfigHelper; -use OC\Template\SCSSCacher; use OCP\AppFramework\Http\TemplateResponse; use OCP\Defaults; use OCP\IConfig; @@ -332,18 +331,11 @@ class TemplateLayout extends \OC_Template { // Read the selected theme from the config file $theme = \OC_Util::getTheme(); - if ($compileScss) { - $SCSSCacher = \OC::$server->query(SCSSCacher::class); - } else { - $SCSSCacher = null; - } - $locator = new \OC\Template\CSSResourceLocator( \OC::$server->get(LoggerInterface::class), $theme, [ \OC::$SERVERROOT => \OC::$WEBROOT ], [ \OC::$SERVERROOT => \OC::$WEBROOT ], - $SCSSCacher ); $locator->find($styles); return $locator->getResources(); |