Merge branch 'MDL-38756-m' of git://github.com/andrewnicols/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2013-04-03 21:59:18 +02:00
commit 896efbeadb

View File

@ -1618,7 +1618,7 @@ class YUI_config {
}
$cache = cache::make('core', 'yuimodules');
if ($CFG->jsrev == -1) {
if (!isset($CFG->jsrev) || $CFG->jsrev == -1) {
$metadata = array();
$cache->delete('metadata');
} else {