diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-03-18 06:40:20 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-03-18 06:40:20 +0300 |
commit | 6e8ec4575c1b19af63fe4910dd0dd7c5dc8a6003 (patch) | |
tree | 043835e20d15cc352de0ea6cfbc4696aaabc4648 /plugins/Provider | |
parent | bf56078002db6c9d1bd5653443486b9148af76b0 (diff) |
faster archive by calculating the recursive count only if needed
Diffstat (limited to 'plugins/Provider')
-rw-r--r-- | plugins/Provider/Archiver.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/Provider/Archiver.php b/plugins/Provider/Archiver.php index a8a22c9527..c152807385 100644 --- a/plugins/Provider/Archiver.php +++ b/plugins/Provider/Archiver.php @@ -24,6 +24,14 @@ class Archiver extends \Piwik\Plugin\Archiver public function aggregateMultipleReports() { - $this->getProcessor()->aggregateDataTableRecords(array(self::PROVIDER_RECORD_NAME), $this->maximumRows); + $this->getProcessor()->aggregateDataTableRecords( + array(self::PROVIDER_RECORD_NAME), + $this->maximumRows, + $maximumRowsInSubDataTable = null, + $columnToSortByBeforeTruncation = null, + $columnsAggregationOperation = null, + $columnsToRenameAfterAggregation = null, + $countRowsRecursive = false + ); } } |