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

8.0.x
Alex Pott 2013-07-09 22:02:20 +01:00
parent 06cb438e03
commit 7617975686
1 changed files with 0 additions and 2 deletions

View File

@ -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);