Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2015-01-17 16:29:11 +0300
committersgiehl <stefan@piwik.org>2015-01-17 16:29:11 +0300
commit2926ed1c713ed5219e216366de476cc19ef771b1 (patch)
tree0e5a5ecb87138b90c9776dfb1ecc2922927f13c0 /core/Plugin/Report.php
parent037c64e3faccae9392712660aa1958c2c34ce493 (diff)
moved checking for fixed view types to factory
Diffstat (limited to 'core/Plugin/Report.php')
-rw-r--r--core/Plugin/Report.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/Plugin/Report.php b/core/Plugin/Report.php
index 2bb87bde3a..a9bb94667e 100644
--- a/core/Plugin/Report.php
+++ b/core/Plugin/Report.php
@@ -312,11 +312,8 @@ class Report
$apiAction = $apiProxy->buildApiActionName($this->module, $this->action);
- if ($this->isDefaultTypeFixed()) {
- $view = ViewDataTableFactory::build($this->getDefaultTypeViewDataTable(), $apiAction, $this->module . '.' . $this->action, true);
- } else {
- $view = ViewDataTableFactory::build(null, $apiAction, $this->module . '.' . $this->action);
- }
+ $view = ViewDataTableFactory::build(null, $apiAction, $this->module . '.' . $this->action);
+
$rendered = $view->render();
return $rendered;