diff options
author | diosmosis <benaka@piwik.pro> | 2015-07-09 08:03:42 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-08-06 17:37:58 +0300 |
commit | 5c284d7264a4e28e932a51b019c0679e42a95b0b (patch) | |
tree | caec532066f17a5b049c567c903d0cd3f58ab9e0 /core/Tracker/Visit.php | |
parent | 4b1b0757ff146837ec3ef8d928f37b04c1d17ac4 (diff) |
Move goals recording from Visit::handle() to GoalsRequestProcessor.
Diffstat (limited to 'core/Tracker/Visit.php')
-rw-r--r-- | core/Tracker/Visit.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 0a5a2f0425..fb3c4ee4c7 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -185,17 +185,7 @@ class Visit implements VisitInterface $this->request->setThirdPartyCookie($this->visitProperties->visitorInfo['idvisitor']); foreach ($this->requestProcessors as $processor) { - $processor->processRequest($this->visitProperties); - } - - // record the goals if applicable - if ($this->visitProperties->getRequestMetadata('Goals', 'someGoalsConverted')) { - $goalManager->recordGoals( - $visitor, - $this->visitProperties->visitorInfo, - $this->visitProperties->getRequestMetadata('CustomVariables', 'visitCustomVariables'), - $action - ); + $processor->processRequest($visitor, $this->visitProperties); } unset($action); |