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:
authordiosmosis <benaka@piwik.pro>2014-12-11 02:48:19 +0300
committerdiosmosis <benaka@piwik.pro>2014-12-11 02:48:19 +0300
commit7c4ffab00e7e07b79157fca61cc91d0c3b8911c0 (patch)
treeeedd01a95d237b5730b9ac585dfd7f98a0946a24 /core/Tracker/Visit.php
parent0a0a0d2cdef310e98636ef1b68fc4f9d4108b235 (diff)
Removing dead code in Tracker/Visit.php.
Diffstat (limited to 'core/Tracker/Visit.php')
-rw-r--r--core/Tracker/Visit.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php
index 869434d4cd..c019a1acf8 100644
--- a/core/Tracker/Visit.php
+++ b/core/Tracker/Visit.php
@@ -631,15 +631,6 @@ class Visit implements VisitInterface
return true;
}
- // if we should create a new visit when the referrer changes, check if referrer changed
- if ($this->createNewVisitWhenWebsiteReferrerChanges
- && $visitor->isReferrerInformationDifferent()
- ) {
- Common::printDebug("Existing visit detected, but creating new visit because referrer information is different than last action");
-
- return true;
- }
-
return !$visitor->isVisitorKnown();
}
}