mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-40806 JavaScript: Add module metadata in JS dev modes
This commit is contained in:
parent
ffc3f5308b
commit
ce286101f0
1 changed files with 1 additions and 0 deletions
|
@ -1657,6 +1657,7 @@ class YUI_config {
|
||||||
$cache = cache::make('core', 'yuimodules');
|
$cache = cache::make('core', 'yuimodules');
|
||||||
if (!isset($CFG->jsrev) || $CFG->jsrev == -1) {
|
if (!isset($CFG->jsrev) || $CFG->jsrev == -1) {
|
||||||
$metadata = array();
|
$metadata = array();
|
||||||
|
$metadata = $this->get_moodle_metadata();
|
||||||
$cache->delete('metadata');
|
$cache->delete('metadata');
|
||||||
} else {
|
} else {
|
||||||
// Attempt to get the metadata from the cache.
|
// Attempt to get the metadata from the cache.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue