diff options
author | diosmosis <benaka@piwik.pro> | 2015-03-06 11:31:45 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-03-06 11:31:45 +0300 |
commit | db686a6f900e2d64467bee4a3987ebd5052ac794 (patch) | |
tree | 1d9c966794bb178324d7c477ba389371a0be3cc1 | |
parent | 37c69f41b5edc5db71dba3fcdcd4a744fe386461 (diff) |
Adding log statement + TODO to 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); |