diff options
Diffstat (limited to 'plugins/CoreAdminHome/Tasks.php')
-rw-r--r-- | plugins/CoreAdminHome/Tasks.php | 4 |
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); |