MDL-41632 core_component: All version hash did not consider plugin type
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user