diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-09-08 06:38:44 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-09-08 06:38:44 +0400 |
commit | 8a0a7d80571d57bcef947e6006eb4be97ba02150 (patch) | |
tree | 4d3f2bab796ab73278f5e5512236caa5712e2a9f /core/Tracker | |
parent | 8a831d1645db397c090667eaa5454ba4906b0e76 (diff) |
Refs #6109 cid should not require token_auth authentication. Note; this may fail the test with changes in Tracker.php
Diffstat (limited to 'core/Tracker')
-rw-r--r-- | core/Tracker/Request.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/core/Tracker/Request.php b/core/Tracker/Request.php index 3ddd52951b..eddc99786e 100644 --- a/core/Tracker/Request.php +++ b/core/Tracker/Request.php @@ -29,8 +29,6 @@ class Request */ protected $params; - protected $forcedVisitorId = false; - protected $isAuthenticated = null; protected $tokenAuth; @@ -529,21 +527,14 @@ class Request } } - public function setForcedVisitorId($visitorId) + public function getForcedUserId() { - if (!empty($visitorId)) { - $this->forcedVisitorId = $visitorId; - } + return $this->getParam('uid'); } public function getForcedVisitorId() { - return $this->forcedVisitorId; - } - - public function getForcedUserId() - { - return $this->getParam('uid'); + return $this->getParam('cid'); } public function getPlugins() |