diff options
author | MichaelHeerklotz <michael.heerklotz@web.de> | 2019-11-08 06:25:20 +0300 |
---|---|---|
committer | diosmosis <diosmosis@users.noreply.github.com> | 2019-11-08 06:25:20 +0300 |
commit | ea5a14bdf8aa9608cdc2ab7d5c8236a5ff1eb3e2 (patch) | |
tree | 1bfa77aad668a61f0db3159fc8fa63c6a389156a /core/Tracker/Request.php | |
parent | a6e68de3aef8daa0978edabbf867e5a86bfc6dac (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.php | 9 |
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) { |