diff --git a/core/View.php b/core/View.php index 356e30448e2cb7a74eb8226beb62b1b1a101eea8..752d0d99e8f8344b093d5326b532a03cd0a3a2ea 100644 --- a/core/View.php +++ b/core/View.php @@ -204,21 +204,6 @@ class Piwik_View implements Piwik_View_Interface $view->smarty->clear_compiled_tpl(); } -/* - public function isCached($template) - { - if ($this->smarty->is_cached($template)) - { - return true; - } - return false; - } - public function setCaching($caching) - { - $this->smarty->caching = $caching; - } -*/ - /** * Render the single report template * @@ -232,7 +217,7 @@ class Piwik_View implements Piwik_View_Interface $view = new Piwik_View('CoreHome/templates/single_report.tpl'); $view->title = $title; $view->report = $reportHtml; - + if ($fetch) { return $view->render();