Skip to content

Commit

Permalink
MDL-72924 check: Fix component initialisation for performance checks
Browse files Browse the repository at this point in the history
  • Loading branch information
keevan committed Oct 27, 2021
1 parent 2b2897b commit 086878c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/check/manager.php
Expand Up @@ -79,7 +79,7 @@ static public function get_performance_checks() : array {
foreach ($plugins as $plugin => $pluginfunction) {
$result = $pluginfunction();
foreach ($result as $check) {
$check->component = $plugintype . '_' . $plugin;
$check->set_component($plugintype . '_' . $plugin);
$checks[] = $check;
}
}
Expand Down

0 comments on commit 086878c

Please sign in to comment.