Merge branch 'MDL-72924-fix-component-initialisation-for-performance-checks-MOODLE_310_STABLE' of https://github.com/keevan/moodle into MOODLE_310_STABLE

This commit is contained in:
Shamim Rezaie
2021-10-29 02:57:23 +11:00
+1 -1
View File
@@ -78,7 +78,7 @@ class manager {
foreach ($plugins as $plugin => $pluginfunction) {
$result = $pluginfunction();
foreach ($result as $check) {
$check->component = $plugintype . '_' . $plugin;
$check->set_component($plugintype . '_' . $plugin);
$checks[] = $check;
}
}