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:
authorMichaelHeerklotz <michael.heerklotz@web.de>2019-11-08 06:25:20 +0300
committerdiosmosis <diosmosis@users.noreply.github.com>2019-11-08 06:25:20 +0300
commitea5a14bdf8aa9608cdc2ab7d5c8236a5ff1eb3e2 (patch)
tree1bfa77aad668a61f0db3159fc8fa63c6a389156a /core/Tracker/Request.php
parenta6e68de3aef8daa0978edabbf867e5a86bfc6dac (diff)
UserID no longer overwrites VisitorId (#14360)
* UserID no longer overwrites VisitorId * Update piwik-php-tracker package * Update matomo-php-tracker again. * Fixing test. * Add changelog note.
Diffstat (limited to 'core/Tracker/Request.php')
-rw-r--r--core/Tracker/Request.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php
index fce9b8f0c7..8f88860794 100644
--- a/core/Tracker/Request.php
+++ b/core/Tracker/Request.php
@@ -740,15 +740,6 @@ class Request
public function getVisitorId()
{
$found = false;
-
- // If User ID is set it takes precedence
- $userId = $this->getForcedUserId();
- if ($userId) {
- $userIdHashed = $this->getUserIdHashed($userId);
- $idVisitor = $this->truncateIdAsVisitorId($userIdHashed);
- Common::printDebug("Request will be recorded for this user_id = " . $userId . " (idvisitor = $idVisitor)");
- $found = true;
- }
// Was a Visitor ID "forced" (@see Tracking API setVisitorId()) for this request?
if (!$found) {