Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
63d371ad
Commit
63d371ad
authored
May 29, 2013
by
Alex Pott
Browse files
Issue
#2003318
by gdf: Rename Views method restore_headers() to restoreHeaders().
parent
1c619029
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
View file @
63d371ad
...
...
@@ -166,7 +166,7 @@ function cache_get($type) {
if
(
!
$cutoff
||
$cache
->
created
>
$cutoff
)
{
$this
->
storage
=
$cache
->
data
;
$this
->
view
->
display_handler
->
output
=
$cache
->
data
[
'output'
];
$this
->
restore
_h
eaders
();
$this
->
restore
H
eaders
();
return
TRUE
;
}
}
...
...
@@ -239,7 +239,7 @@ function gather_headers() {
/**
* Restore out of band data saved to cache. Copied from Panels.
*/
function
restore
_h
eaders
()
{
public
function
restore
H
eaders
()
{
if
(
!
empty
(
$this
->
storage
[
'head'
]))
{
drupal_add_html_head
(
$this
->
storage
[
'head'
]);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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