MDL-72924 check: Fix component initialisation for performance checks

This commit is contained in:
Kevin Pham
2021-10-28 14:25:48 +11:00
parent b8e5f7b428
commit c21d587016
+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;
}
}