From 7c4ffab00e7e07b79157fca61cc91d0c3b8911c0 Mon Sep 17 00:00:00 2001
From: diosmosis <benaka@piwik.pro>
Date: Wed, 10 Dec 2014 15:48:19 -0800
Subject: [PATCH] Removing dead code in Tracker/Visit.php.

---
 core/Tracker/Visit.php | 9 ---------
 1 file changed, 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();
     }
 }
-- 
GitLab