Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
76179756
Commit
76179756
authored
Jul 09, 2013
by
alexpott
Browse files
Issue
#1999442
by kim.pepper, chertzog: Use Symfony Request for toolbar module.
parent
06cb438e
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/toolbar/toolbar.module
View file @
76179756
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment