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:
authorThomas Steur <thomas.steur@gmail.com>2015-03-18 06:40:20 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-03-18 06:40:20 +0300
commit6e8ec4575c1b19af63fe4910dd0dd7c5dc8a6003 (patch)
tree043835e20d15cc352de0ea6cfbc4696aaabc4648 /plugins/Contents/Archiver.php
parentbf56078002db6c9d1bd5653443486b9148af76b0 (diff)
faster archive by calculating the recursive count only if needed
Diffstat (limited to 'plugins/Contents/Archiver.php')
-rw-r--r--plugins/Contents/Archiver.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/plugins/Contents/Archiver.php b/plugins/Contents/Archiver.php
index 6d3a2e05ce..9cd6fbfc49 100644
--- a/plugins/Contents/Archiver.php
+++ b/plugins/Contents/Archiver.php
@@ -48,7 +48,14 @@ class Archiver extends \Piwik\Plugin\Archiver
public function aggregateMultipleReports()
{
$dataTableToSum = $this->getRecordNames();
- $this->getProcessor()->aggregateDataTableRecords($dataTableToSum, $this->maximumRowsInDataTable, $this->maximumRowsInSubDataTable, $this->columnToSortByBeforeTruncation);
+ $this->getProcessor()->aggregateDataTableRecords(
+ $dataTableToSum,
+ $this->maximumRowsInDataTable,
+ $this->maximumRowsInSubDataTable,
+ $this->columnToSortByBeforeTruncation,
+ $columnsAggregationOperation = null,
+ $columnsToRenameAfterAggregation = null,
+ $countRowsRecursive = false);
}
private function getRecordNames()