diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-12-16 03:45:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 03:45:16 +0300 |
commit | 6a49b195245a47caf9b48f7e7979b190f3ad4ca0 (patch) | |
tree | 9db7cee92f2f2e5d8510fa2e8d28ac38d621acfd /core | |
parent | 2a7b481db3bef1818a8aa2654a59eefdae75652a (diff) |
Removes duplicate code (#16958)
refs #16949
Diffstat (limited to 'core')
-rw-r--r-- | core/Tracker/Visit.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/core/Tracker/Visit.php b/core/Tracker/Visit.php index 61c5893455..8948116456 100644 --- a/core/Tracker/Visit.php +++ b/core/Tracker/Visit.php @@ -582,17 +582,6 @@ class Visit implements VisitInterface } } - if (TrackerConfig::getConfigValue('enable_userid_overwrites_visitorid')) { - // User ID takes precedence and overwrites idvisitor value - $userId = $this->request->getForcedUserId(); - if ($userId) { - $userIdHash = $this->request->getUserIdHashed($userId); - $binIdVisitor = Common::hex2bin($userIdHash); - $this->visitProperties->setProperty('idvisitor', $binIdVisitor); - $valuesToUpdate['idvisitor'] = $binIdVisitor; - } - } - return $valuesToUpdate; } |