diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-11-06 05:42:13 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-11-06 05:42:13 +0400 |
commit | 6dfc848b8eb8cc4e7b81489d45eebe66bc94e3f0 (patch) | |
tree | 4905cfb29864240a496f682f0585c09d34da4633 /plugins/CustomVariables/Archiver.php | |
parent | f3fcfa6368ba0dcb551043f61dfdb59e2e53f1a5 (diff) |
Moving around
Diffstat (limited to 'plugins/CustomVariables/Archiver.php')
-rw-r--r-- | plugins/CustomVariables/Archiver.php | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/CustomVariables/Archiver.php b/plugins/CustomVariables/Archiver.php index 261255141b..a6b8c5128d 100644 --- a/plugins/CustomVariables/Archiver.php +++ b/plugins/CustomVariables/Archiver.php @@ -40,6 +40,13 @@ class Archiver extends \Piwik\Plugin\Archiver $this->maximumRowsInSubDataTable = Config::getInstance()->General['datatable_archiving_maximum_rows_subtable_custom_variables']; } + public function aggregateMultipleReports() + { + $this->getProcessor()->aggregateDataTableRecords( + self::CUSTOM_VARIABLE_RECORD_NAME, $this->maximumRowsInDataTableLevelZero, $this->maximumRowsInSubDataTable, + $columnToSort = Metrics::INDEX_NB_VISITS); + } + public function aggregateDayReport() { $this->dataArray = new DataArray(); @@ -201,10 +208,4 @@ class Archiver extends \Piwik\Plugin\Archiver } } - public function aggregateMultipleReports() - { - $nameToCount = $this->getProcessor()->aggregateDataTableRecords( - self::CUSTOM_VARIABLE_RECORD_NAME, $this->maximumRowsInDataTableLevelZero, $this->maximumRowsInSubDataTable, - $columnToSort = Metrics::INDEX_NB_VISITS); - } }
\ No newline at end of file |