Skip to content

Commit

Permalink
Removing dead code in Tracker/Visit.php.
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Dec 10, 2014
1 parent 0a0a0d2 commit 7c4ffab
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/Tracker/Visit.php
Original file line number Diff line number Diff line change
Expand Up @@ -631,15 +631,6 @@ private function isVisitNew(Visitor $visitor, Action $action = null)
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();
}
}

0 comments on commit 7c4ffab

Please sign in to comment.