Commit 63d371ad authored by alexpott's avatar alexpott

Issue #2003318 by gdf: Rename Views method restore_headers() to restoreHeaders().

parent 1c619029
......@@ -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_headers();
$this->restoreHeaders();
return TRUE;
}
}
......@@ -239,7 +239,7 @@ function gather_headers() {
/**
* Restore out of band data saved to cache. Copied from Panels.
*/
function restore_headers() {
public function restoreHeaders() {
if (!empty($this->storage['head'])) {
drupal_add_html_head($this->storage['head']);
}
......
Markdown is supported
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