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

Issue #3093866 by heddn, rkoller: Add a clickable link to the readiness check...

Issue #3093866 by heddn, rkoller: Add a clickable link to the readiness check status message right after the first install
parent 11e8a0fe
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ function automatic_updates_page_top(array &$page_top) { ...@@ -28,7 +28,6 @@ function automatic_updates_page_top(array &$page_top) {
'update.settings', 'update.settings',
'system.status', 'system.status',
'update.confirmation_page', 'update.confirmation_page',
'automatic_updates.settings',
]; ];
// These routes don't need additional nagging. // These routes don't need additional nagging.
if (in_array(\Drupal::routeMatch()->getRouteName(), $disabled_routes, TRUE)) { if (in_array(\Drupal::routeMatch()->getRouteName(), $disabled_routes, TRUE)) {
......
...@@ -122,8 +122,9 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface { ...@@ -122,8 +122,9 @@ class ReadinessCheckerManager implements ReadinessCheckerManagerInterface {
foreach ($this->checkers as $category => $priorities) { foreach ($this->checkers as $category => $priorities) {
foreach ($priorities as $checkers) { foreach ($priorities as $checkers) {
krsort($checkers); krsort($checkers);
$sorted[$category] = isset($sorted[$category]) ? array_merge($sorted[$category], $checkers) : array_merge([], $checkers); $sorted[$category][] = $checkers;
} }
$sorted[$category] = array_merge(...$sorted[$category]);
} }
return $sorted; return $sorted;
} }
......
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