From 6be9fb2002a0a7da79af55e3263f23c5addfa79c Mon Sep 17 00:00:00 2001 From: mattab Date: Thu, 13 Jun 2013 11:52:49 +1200 Subject: Continuing the great cleanup. It looks like archiveProcessor will have to go (and merge with Archive) Moving Transitions logic from plugin class to API Cleaning up some separation of concerns NOTE: I'm breaking the Multisites API here, removing the _evolution. we should re-fix it... --- core/TablePartitioning.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'core/TablePartitioning.php') diff --git a/core/TablePartitioning.php b/core/TablePartitioning.php index d870a27432..7dee00bf9c 100644 --- a/core/TablePartitioning.php +++ b/core/TablePartitioning.php @@ -110,14 +110,13 @@ class Piwik_TablePartitioning_Monthly extends Piwik_TablePartitioning } /** - * Creates archive_blob & archive_numeric tables for a period if they don't - * already exist. + * Creates archive_blob & archive_numeric tables for a period if they don't already exist. * - * @param Piwik_Period $periodInMonth + * @param Piwik_Date */ - public static function createArchiveTablesIfAbsent($periodInMonth) + public static function createArchiveTablesIfAbsent($dateInMonth) { - $timestamp = $periodInMonth->getDateStart()->getTimestamp(); + $timestamp = $dateInMonth->getTimestamp(); self::$blobArchiveTable->setTimestamp($timestamp); self::$blobArchiveTable->getTableName(); -- cgit v1.2.3