Commit f13b87ca authored by alexpott's avatar alexpott
Browse files

Issue #2002414 by theladebug: Rename Views method cache_start() to cacheStart().

parent 26c5f09b
...@@ -215,7 +215,7 @@ function post_render(&$output) { } ...@@ -215,7 +215,7 @@ function post_render(&$output) { }
* *
* @see drupal_add_html_head() * @see drupal_add_html_head()
*/ */
function cache_start() { public function cacheStart() {
$this->storage['head'] = drupal_add_html_head(); $this->storage['head'] = drupal_add_html_head();
} }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
*/ */
class None extends CachePluginBase { class None extends CachePluginBase {
function cache_start() { /* do nothing */ } public function cacheStart() { /* do nothing */ }
public function summaryTitle() { public function summaryTitle() {
return t('None'); return t('None');
......
...@@ -1242,7 +1242,7 @@ public function render($display_id = NULL) { ...@@ -1242,7 +1242,7 @@ public function render($display_id = NULL) {
} }
else { else {
if ($cache) { if ($cache) {
$cache->cache_start(); $cache->cacheStart();
} }
// Run pre_render for the pager as it might change the result. // Run pre_render for the pager as it might change the result.
......
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