summaryrefslogtreecommitdiffstats
path: root/core/minimizer.php
diff options
context:
space:
mode:
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);
}