From d2828454e155cfb8262ffb14e8b2f61964c45036 Mon Sep 17 00:00:00 2001 From: diosmosis Date: Tue, 11 Feb 2014 18:46:45 +0000 Subject: Use accessors when rendering Views so UIControl is a bit cleaner. --- core/View/UIControl.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'core/View') diff --git a/core/View/UIControl.php b/core/View/UIControl.php index 111ef58133..d29ec6655c 100644 --- a/core/View/UIControl.php +++ b/core/View/UIControl.php @@ -104,7 +104,6 @@ class UIControl extends \Piwik\View throw new Exception("All UIControls must set a jsClass property"); } - $this->getTemplateVars(); return parent::render(); } @@ -132,10 +131,6 @@ class UIControl extends \Piwik\View $this->templateVars['clientSideParameters'][$name] = $innerTemplateVars[$name]; } - if ($this instanceof \Piwik\Plugins\SegmentEditor\SegmentSelectorControl) { - \Piwik\Log::warning(print_r($override, true)); - } - return parent::getTemplateVars($override); } -- cgit v1.2.3