diff options
Diffstat (limited to 'core/TablePartitioning.php')
-rw-r--r-- | core/TablePartitioning.php | 9 |
1 files changed, 4 insertions, 5 deletions
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(); |