MDL-72924 check: Fix component initialisation for performance checks

This commit is contained in:
Kevin Pham
2021-10-28 14:22:41 +11:00
parent 9fd7f2c0be
commit 48f390046d
+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;
}
}