Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-07-08 06:50:02 +0300
committerdiosmosis <benaka@piwik.pro>2015-08-06 17:37:57 +0300
commitaeb17d5958be81b4588a535c7a7a7a0c97724644 (patch)
treebaf61454f4646ca646d54aa415d45ffdf7a6a242 /core/Tracker
parentc7146884d703e99d7c57822aed0a58a04da37402 (diff)
Make sure ping behavior is preserved despite last couple changes.
Diffstat (limited to 'core/Tracker')
-rw-r--r--core/Tracker/Visit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php
index a336a2df02..997fd4f805 100644
--- a/core/Tracker/Visit.php
+++ b/core/Tracker/Visit.php
@@ -122,6 +122,9 @@ class Visit implements VisitInterface
// on a ping request that is received before the standard visit length, we just update the visit time w/o adding a new action
Common::printDebug("-> ping=1 request: we do not track a new action nor a new visit nor any goal.");
+ $action = null;
+ $this->visitProperties->setRequestMetadata('Goals', 'someGoalsConverted', false);
+ $this->visitProperties->setRequestMetadata('Goals', 'visitIsConverted', false);
} else {
$goalManager = new GoalManager($this->request);