Skip to content
Snippets Groups Projects
Commit d98203c7 authored by Lucas Hedding's avatar Lucas Hedding Committed by Lucas Hedding
Browse files

Issue #3055258 by heddn: Readiness check results display even when disabled

parent 866db2e7
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,11 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface { ...@@ -82,7 +82,11 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getResults($category) { public function getResults($category) {
return $this->keyValue->get("readiness_check_results.$category", []); $results = [];
if ($this->isEnabled()) {
$results = $this->keyValue->get("readiness_check_results.$category", []);
}
return $results;
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment