MDL-40806 JavaScript: Add module metadata in JS dev modes
authorAndrew Nicols <andrew@nicols.co.uk>
Sun, 21 Jul 2013 09:41:49 +0000 (10:41 +0100)
committerAndrew Nicols <andrew@nicols.co.uk>
Sun, 21 Jul 2013 09:41:49 +0000 (10:41 +0100)
lib/outputrequirementslib.php

index bce03a5..fc9d1a0 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.