MDL-72924 check: Fix component initialisation for performance checks

This commit is contained in:
Kevin Pham
2021-10-27 16:17:04 +11:00
parent 2b2897bf10
commit 086878c541
+1 -1
View File
@@ -79,7 +79,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;
}
}