diff --git a/core/update.php b/core/update.php index bbb18a9..a64cb94 100644 --- a/core/update.php +++ b/core/update.php @@ -228,8 +228,6 @@ function update_info_page() { * Rendered HTML warning with 403 status. */ function update_access_denied_page() { - drupal_add_http_header('Status', '403 Forbidden'); - header(\Drupal::request()->server->get('SERVER_PROTOCOL') . ' 403 Forbidden'); watchdog('access denied', 'update.php', NULL, WATCHDOG_WARNING); $output = '
Access denied. You are not authorized to access this page. Log in using either an account with the administer software updates permission or the site maintenance account (the account you created during installation). If you cannot log in, you will have to edit settings.php to bypass this access check. To do this: