MDL-72924 check: Fix component initialisation for performance checks
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user