MDL-28147 do not double cache theme css/js

This commit is contained in:
Petr Skoda
2011-07-06 03:15:44 +02:00
committed by Eloy Lafuente (stronk7)
parent 6893e10840
commit 9a380fbb53
2 changed files with 4 additions and 4 deletions
+2 -3
View File
@@ -118,12 +118,11 @@ function send_uncached_js($js) {
}
function minify($files) {
global $CFG;
if (0 === stripos(PHP_OS, 'win')) {
Minify::setDocRoot(); // IIS may need help
}
Minify::setCache('', true);
// disable all caching, we do it in moodle
Minify::setCache(null, false);
$options = array(
'bubbleCssImports' => false,