mirror of
https://github.com/moodle/moodle.git
synced 2025-03-04 08:06:30 +01:00
MDL-41632 core_component: All version hash did not consider plugin type
This commit is contained in:
parent
ee788142f2
commit
5975d573ab
@ -891,12 +891,12 @@ $cache = '.var_export($cache, true).';
|
||||
$module = new stdClass();
|
||||
$module->version = null;
|
||||
include($fullplug.'/version.php');
|
||||
$versions[$plug] = $module->version;
|
||||
$versions[$type.'_'.$plug] = $module->version;
|
||||
} else {
|
||||
$plugin = new stdClass();
|
||||
$plugin->version = null;
|
||||
@include($fullplug.'/version.php');
|
||||
$versions[$plug] = $plugin->version;
|
||||
$versions[$type.'_'.$plug] = $plugin->version;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user