Skip to content
Snippets Groups Projects
Commit 76179756 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #1999442 by kim.pepper, chertzog: Use Symfony Request for toolbar module.

parent 06cb438e
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -133,8 +133,6 @@ function _toolbar_initialize_page_cache() {
$response = new Response();
$request = \Drupal::request();
$response->headers->set('X-Drupal-Cache', 'HIT');
// Restore the metadata cached with the page.
$_GET['q'] = $cache->data['path'];
date_default_timezone_set(drupal_get_user_timezone());
drupal_serve_page_from_cache($cache, $response, $request);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment