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-18 05:20:35 +0400
committermattab <matthieu.aubry@gmail.com>2013-06-18 05:20:35 +0400
commit1668b467375522eb83f9790e114b1a37d2a599f3 (patch)
treed5dcfd00694da9ce756bd78ab96dd39622350ebc /core/ArchiveProcessor.php
parent53d73c6de48c20f4e238bb5969e0a470bccbe814 (diff)
Commenting/cleanup new classes
Diffstat (limited to 'core/ArchiveProcessor.php')
-rw-r--r--core/ArchiveProcessor.php27
1 files changed, 5 insertions, 22 deletions
diff --git a/core/ArchiveProcessor.php b/core/ArchiveProcessor.php
index 792048bfc5..714c4e821b 100644
--- a/core/ArchiveProcessor.php
+++ b/core/ArchiveProcessor.php
@@ -53,35 +53,24 @@ abstract class Piwik_ArchiveProcessor
protected $archiveWriter;
/**
- * Object used to generate (depending on the $dateStart) the name of the DB table to use to store numeric values
- *
- * @var Piwik_TablePartitioning
- */
- protected $tableArchiveNumeric;
-
- /**
- * Object used to generate (depending on the $dateStart) the name of the DB table to use to store numeric values
- *
- * @var Piwik_TablePartitioning
- */
- protected $tableArchiveBlob;
-
- /**
* Is the current archive temporary. ie.
* - today
* - current week / month / year
*/
protected $temporaryArchive;
+ /**
+ * @var Piwik_DataAccess_LogAggregator
+ */
protected $logAggregator = null;
/**
- * @var int Number of visits cached as early as possible
+ * @var int Cached number of visits cached
*/
protected $visitsMetricCached = false;
/**
- * @var int Number of visits with conversions, cached when selecting
+ * @var int Cached number of visits with conversions
*/
protected $convertedVisitsMetricCached = false;
@@ -264,16 +253,10 @@ abstract class Piwik_ArchiveProcessor
protected function doesRequestedPluginIncludeVisitsSummary($requestedPlugin)
{
$processAllReportsIncludingVisitsSummary = Piwik_ArchiveProcessor_Rules::shouldProcessReportsAllPlugins($this->getSegment(), $this->getPeriod()->getLabel());
-
$doesRequestedPluginIncludeVisitsSummary = $processAllReportsIncludingVisitsSummary || $requestedPlugin == 'VisitsSummary';
return $doesRequestedPluginIncludeVisitsSummary;
}
- /**
- * @param $requestedPlugin
- * @param $enforceProcessCoreMetricsOnly
- * @return mixed
- */
protected function computeNewArchive($requestedPlugin, $enforceProcessCoreMetricsOnly)
{
$archiveWriter = new Piwik_DataAccess_ArchiveWriter($this->getSite()->getId(), $this->getSegment(), $this->getPeriod(), $requestedPlugin, $this->isArchiveTemporary());