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>2014-01-22 02:10:17 +0400
committermattab <matthieu.aubry@gmail.com>2014-01-22 02:10:17 +0400
commit1948b754cc13fa8a144bf8ac63f9fed1b24470cd (patch)
treea878e051b9ea5e45fb821feb7ce54d480b228714 /core/ArchiveProcessor.php
parent39e7d13ca8c1b0da6c7769b135362b6e83e4a2f0 (diff)
Call Table\Manager::deleteAll() for both Days and Periods, not only for Periods
Diffstat (limited to 'core/ArchiveProcessor.php')
-rw-r--r--core/ArchiveProcessor.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/ArchiveProcessor.php b/core/ArchiveProcessor.php
index 6aa62cdc9d..a8eaaf7056 100644
--- a/core/ArchiveProcessor.php
+++ b/core/ArchiveProcessor.php
@@ -194,8 +194,6 @@ class ArchiveProcessor
&$columnsAggregationOperation = null,
$columnsToRenameAfterAggregation = null)
{
- // We clean up below all tables created during this function call (and recursive calls)
- $latestUsedTableId = Manager::getInstance()->getMostRecentTableId();
if (!is_array($recordNames)) {
$recordNames = array($recordNames);
}
@@ -210,7 +208,6 @@ class ArchiveProcessor
Common::destroy($table);
$this->insertBlobRecord($recordName, $blob);
}
- Manager::getInstance()->deleteAll($latestUsedTableId);
return $nameToCount;
}