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-07 04:20:34 +0400
committermattab <matthieu.aubry@gmail.com>2013-06-07 04:20:34 +0400
commita701d4a43a7185b9d9422de0d1d97c9b2e0fcc5d (patch)
treeafc6cc4ae2bd371fa57c692c828a2e45dc3741d7 /core/Archive.php
parent3fe760eaf2c811978f1ca6ba8056c50983a40f99 (diff)
Killing the Archiver from VisitFrequency. Nice! using VisitsSummary.get API instead, with a visitorType==returning segment
Fixing a 4 year old bug which I'm happy about! Also removing an old hack in Archive.php
Diffstat (limited to 'core/Archive.php')
-rw-r--r--core/Archive.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/Archive.php b/core/Archive.php
index d711624cde..ed88f6adcd 100644
--- a/core/Archive.php
+++ b/core/Archive.php
@@ -969,13 +969,6 @@ class Piwik_Archive
) {
$report = 'VisitsSummary_CoreMetrics';
}
- // VisitFrequency metrics don't follow the same naming convention (HACK)
- else if(strpos($report, '_returning') > 0
- // ignore Goal_visitor_returning_1_1_nb_conversions
- && strpos($report, 'Goal_') === false
- ) {
- $report = 'VisitFrequency_Metrics';
- }
// Goal_* metrics are processed by the Goals plugin (HACK)
else if(strpos($report, 'Goal_') === 0) {
$report = 'Goals_Metrics';