Commit 76179756 authored by alexpott's avatar alexpott
Browse files

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

parent 06cb438e
......@@ -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'];
drupal_serve_page_from_cache($cache, $response, $request);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment