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:
authordiosmosis <benaka@piwik.pro>2015-03-06 11:31:45 +0300
committerdiosmosis <benaka@piwik.pro>2015-03-06 11:31:45 +0300
commitdb686a6f900e2d64467bee4a3987ebd5052ac794 (patch)
tree1d9c966794bb178324d7c477ba389371a0be3cc1 /plugins/CoreAdminHome/Tasks.php
parent37c69f41b5edc5db71dba3fcdcd4a744fe386461 (diff)
Adding log statement + TODO to CoreAdminHome/Tasks.php.
Diffstat (limited to 'plugins/CoreAdminHome/Tasks.php')
-rw-r--r--plugins/CoreAdminHome/Tasks.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreAdminHome/Tasks.php b/plugins/CoreAdminHome/Tasks.php
index 477f386344..22a2fbb1a6 100644
--- a/plugins/CoreAdminHome/Tasks.php
+++ b/plugins/CoreAdminHome/Tasks.php
@@ -56,6 +56,10 @@ class Tasks extends \Piwik\Plugin\Tasks
}
$archiveTables = ArchiveTableCreator::getTablesArchivesInstalled();
+
+ Log::info("Purging archives in {tableCount} archive tables.", array('tableCount' => count($archiveTables)));
+
+ // TODO: won't this execute purges twice, since this includes blobs + numeric tables, but purging should be called w/ just the date?
foreach ($archiveTables as $table) {
$date = ArchiveTableCreator::getDateFromTableName($table);
list($year, $month) = explode('_', $date);