Merge branch 'MDL-38756-m' of git://github.com/andrewnicols/moodle
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user