aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/TemplateLayout.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-04 08:48:33 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 16:10:45 +0200
commit9a9409e31583c0fdd7c0bfe67f5f9177c7651830 (patch)
treee7e773ec86c9aca5d0939fc4e1df8c8b59f09f63 /lib/private/TemplateLayout.php
parentf4058a2432f748ffff6d7e45f2fb79ca383f8dd1 (diff)
downloadnextcloud-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.php8
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();