diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-11 22:46:45 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-11 22:46:45 +0400 |
commit | d2828454e155cfb8262ffb14e8b2f61964c45036 (patch) | |
tree | 6b3100140cb8d1fa6bb04b6d92ffd8d7dcfe615a /core/View | |
parent | 9a4d5b4f4e388a526ae9aed53db261f2424bbfc3 (diff) |
Use accessors when rendering Views so UIControl is a bit cleaner.
Diffstat (limited to 'core/View')
-rw-r--r-- | core/View/UIControl.php | 5 |
1 files changed, 0 insertions, 5 deletions
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); } |