summaryrefslogtreecommitdiffstats
path: root/core/minimizer.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-18 15:40:43 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-18 15:40:48 +0200
commit2f00384b5124ec0b3f3703d73a11a129aff93a62 (patch)
treec444180780c193eb27e87b648609ad47f23d5a21 /core/minimizer.php
parent3000e8f9d508088abe7bb9c2cbc8f3490fa36c9a (diff)
downloadnextcloud-server-2f00384b5124ec0b3f3703d73a11a129aff93a62.tar.gz
nextcloud-server-2f00384b5124ec0b3f3703d73a11a129aff93a62.zip
Use TemplateLayout functions for finding js and css files in minimizer
Diffstat (limited to 'core/minimizer.php')
-rw-r--r--core/minimizer.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/minimizer.php b/core/minimizer.php
index 47e3d855e7b..0abbca75027 100644
--- a/core/minimizer.php
+++ b/core/minimizer.php
@@ -5,11 +5,11 @@ OC_App::loadApps();
if ($service == 'core.css'){
$minimizer = new OC_Minimizer_CSS();
- $files = $minimizer->findFiles(OC_Util::$core_styles);
+ $files = OC_TemplateLayout::findStylesheetFiles(OC_Util::$core_styles);
$minimizer->output($files, $service);
}
else if ($service == 'core.js'){
$minimizer = new OC_Minimizer_JS();
- $files = $minimizer->findFiles(OC_Util::$core_scripts);
+ $files = OC_TemplateLayout::findJavascriptFiles(OC_Util::$core_scripts);
$minimizer->output($files, $service);
}