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:
authormattab <matthieu.aubry@gmail.com>2015-02-27 06:02:08 +0300
committermattab <matthieu.aubry@gmail.com>2015-02-27 06:02:08 +0300
commitb08b9295293668eb17aa21639bae932e915633cb (patch)
tree36051a3ad4f804be9b2d1a96335577f5eb3b6440 /plugins
parentfffa24c111dc3ed92ba5b3fc8395e05384e86f99 (diff)
Fixes #7310 - remove unused code & logic
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Actions/API.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/Actions/API.php b/plugins/Actions/API.php
index aa2998799e..91f1d70c45 100644
--- a/plugins/Actions/API.php
+++ b/plugins/Actions/API.php
@@ -502,15 +502,7 @@ class API extends \Piwik\Plugin\API
protected function getDataTableFromArchive($name, $idSite, $period, $date, $segment, $expanded = false, $idSubtable = null, $depth = null)
{
- $skipAggregationOfSubTables = false;
- if ($period == 'range'
- && empty($idSubtable)
- && empty($expanded)
- && !Request::shouldLoadFlatten()
- ) {
- $skipAggregationOfSubTables = false;
- }
- return Archive::getDataTableFromArchive($name, $idSite, $period, $date, $segment, $expanded, $idSubtable, $skipAggregationOfSubTables, $depth);
+ return Archive::getDataTableFromArchive($name, $idSite, $period, $date, $segment, $expanded, $idSubtable, $depth);
}
private function addPageProcessedMetrics(DataTable\DataTableInterface $dataTable)