diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-06-03 05:24:17 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-06-03 05:24:17 +0400 |
commit | fe4c88429f395f1c700947a8f4c2b3ffef7cf4a7 (patch) | |
tree | a9739152f5b23c996d8a7414423b302387f6bbab /core | |
parent | 89d633d4cc3416a40c075861285e51129d6688d4 (diff) |
visitorCustomVariables is not modified in the Visitor object, so no need to get it afterwards
refs https://github.com/piwik/piwik/pull/296
Diffstat (limited to 'core')
-rw-r--r-- | core/Tracker/Visit.php | 1 | ||||
-rw-r--r-- | core/Tracker/Visitor.php | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 79de10c470..25b69abead 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -149,7 +149,6 @@ class Visit implements VisitInterface $this->visitorKnown = $visitor->isVisitorKnown(); $this->visitorInfo = $visitor->getVisitorInfo(); - $this->visitorCustomVariables = $visitor->getCustomVariables(); $isLastActionInTheSameVisit = $this->isLastActionInTheSameVisit(); diff --git a/core/Tracker/Visitor.php b/core/Tracker/Visitor.php index 483d852b2d..15e69eab96 100644 --- a/core/Tracker/Visitor.php +++ b/core/Tracker/Visitor.php @@ -291,11 +291,6 @@ class Visitor return $this->visitorInfo; } - function getCustomVariables() - { - return $this->customVariables; - } - function isVisitorKnown() { return $this->visitorKnown === true; |