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:
authormattab <matthieu.aubry@gmail.com>2013-06-13 03:52:49 +0400
committermattab <matthieu.aubry@gmail.com>2013-06-16 12:11:03 +0400
commit6be9fb2002a0a7da79af55e3263f23c5addfa79c (patch)
treeb867f08bc0bd2a042e9606146bedce18d85d8460 /core/TablePartitioning.php
parentd8f110aca03ff8c73811a141631f12a7a1ddc16f (diff)
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...
Diffstat (limited to 'core/TablePartitioning.php')
-rw-r--r--core/TablePartitioning.php9
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();