diff options
Diffstat (limited to 'core/ArchiveProcessor/Period.php')
-rw-r--r-- | core/ArchiveProcessor/Period.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/ArchiveProcessor/Period.php b/core/ArchiveProcessor/Period.php index 8a25b5d385..a53182a2af 100644 --- a/core/ArchiveProcessor/Period.php +++ b/core/ArchiveProcessor/Period.php @@ -8,7 +8,8 @@ * @category Piwik * @package Piwik */ -use Piwik\Core\Piwik; +use Piwik\Piwik; +use Piwik\Common; /** * This class provides generic methods to archive data for a period (week / month / year). @@ -85,7 +86,7 @@ class Piwik_ArchiveProcessor_Period extends Piwik_ArchiveProcessor $nameToCount[$recordName]['recursive'] = $table->getRowsCountRecursive(); $blob = $table->getSerialized($maximumRowsInDataTableLevelZero, $maximumRowsInSubDataTable, $columnToSortByBeforeTruncation); - destroy($table); + Common::destroy($table); $this->insertBlobRecord($recordName, $blob); } Piwik_DataTable_Manager::getInstance()->deleteAll($latestUsedTableId); |