Merge branch 'MDL-40806-m' of git://github.com/andrewnicols/moodle
authorSam Hemelryk <sam@moodle.com>
Sun, 28 Jul 2013 22:49:40 +0000 (10:49 +1200)
committerSam Hemelryk <sam@moodle.com>
Sun, 28 Jul 2013 22:49:40 +0000 (10:49 +1200)
lib/outputrequirementslib.php

index 49551c0..25e2de2 100644 (file)
@@ -1657,6 +1657,7 @@ class YUI_config {
         $cache = cache::make('core', 'yuimodules');
         if (!isset($CFG->jsrev) || $CFG->jsrev == -1) {
             $metadata = array();
+            $metadata = $this->get_moodle_metadata();
             $cache->delete('metadata');
         } else {
             // Attempt to get the metadata from the cache.