diff --git a/core/includes/update.inc b/core/includes/update.inc index f7642cd..872bd7d 100644 --- a/core/includes/update.inc +++ b/core/includes/update.inc @@ -148,14 +148,15 @@ function update_check_requirements($skip_warnings = FALSE) { // If there are errors, always display them. If there are only warnings, skip // them if the caller has indicated they should be skipped. if ($severity == REQUIREMENT_ERROR || ($severity == REQUIREMENT_WARNING && !$skip_warnings)) { - update_task_list('requirements'); + $regions['sidebar_first'] = update_task_list('requirements'); $status_report = array( '#theme' => 'status_report', '#requirements' => $requirements, ); $status_report['#suffix'] = 'Check the messages and try again.'; + drupal_add_http_header('Content-Type', 'text/html; charset=utf-8'); - print DefaultHtmlPageRenderer::renderPage($status_report, 'Requirements problem'); + print DefaultHtmlPageRenderer::renderPage($status_report, 'Requirements problem', 'maintenance', $regions); exit(); } } diff --git a/core/update.php b/core/update.php index 713220f..9657ae1 100644 --- a/core/update.php +++ b/core/update.php @@ -58,8 +58,6 @@ function update_selection_page() { $build = \Drupal::formBuilder()->getForm('Drupal\Core\Update\Form\UpdateScriptSelectionForm'); $build['#title'] = 'Drupal database update'; - update_task_list('select'); - return $build; } @@ -98,8 +96,6 @@ function update_flush_all_caches() { * Displays results of the update script with any accompanying errors. */ function update_results_page() { - - update_task_list(); // Report end result. if (\Drupal::moduleHandler()->moduleExists('dblog') && user_access('access site reports')) { $log_message = ' All errors have been logged.'; @@ -201,7 +197,6 @@ function update_info_page() { $keyvalue->get('update')->deleteAll(); $keyvalue->get('update_available_release')->deleteAll(); - update_task_list('info'); $token = drupal_get_token('update'); $output = '
Use this utility to update your database whenever a new release of Drupal or a module is installed.
For more detailed information, see the upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
'; $output .= "