diff options
author | diosmosis <benaka@piwik.pro> | 2015-08-06 15:41:26 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-07 17:15:43 +0300 |
commit | 161ec8593a9f52be9d758569f86ece29f7cca4b2 (patch) | |
tree | bee439b8a8c73046ad2b6f7c7c23a109cf59e762 /core/Tracker/Visitor.php | |
parent | 2f91d3c83a834b0e451d3e58fa246ef0a87740fb (diff) |
Moving request metadata from VisitProperties to Tracker\Request class.
Diffstat (limited to 'core/Tracker/Visitor.php')
-rw-r--r-- | core/Tracker/Visitor.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Tracker/Visitor.php b/core/Tracker/Visitor.php index 833e5c87ed..92036ff974 100644 --- a/core/Tracker/Visitor.php +++ b/core/Tracker/Visitor.php @@ -24,9 +24,9 @@ class Visitor $this->setIsVisitorKnown($isVisitorKnown); } - public static function makeFromVisitProperties(VisitProperties $visitProperties) + public static function makeFromVisitProperties(VisitProperties $visitProperties, Request $request) { - $isKnown = $visitProperties->getRequestMetadata('CoreHome', 'isVisitorKnown'); + $isKnown = $request->getMetadata('CoreHome', 'isVisitorKnown'); return new Visitor($visitProperties, $isKnown); } |