MDL-41632 core_component: All version hash did not consider plugin type

This commit is contained in:
Frederic Massart 2013-09-06 12:03:51 +08:00
parent ee788142f2
commit 5975d573ab

View File

@ -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;
}
}
}