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:
authormattab <matthieu.aubry@gmail.com>2014-06-08 09:19:05 +0400
committermattab <matthieu.aubry@gmail.com>2014-06-08 09:19:05 +0400
commitd050f1a412b786559ef956562621f6504bdde36f (patch)
tree77f30d2581999315889e7bda6bd1b512abfa0967 /libs/PiwikTracker
parent6b28d410979f705638c62a8ee8847009675aeb23 (diff)
Refs #5291 Also clearing user agent and accept-language
Diffstat (limited to 'libs/PiwikTracker')
-rw-r--r--libs/PiwikTracker/PiwikTracker.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/PiwikTracker/PiwikTracker.php b/libs/PiwikTracker/PiwikTracker.php
index e00120f71c..f6bfe1da1f 100644
--- a/libs/PiwikTracker/PiwikTracker.php
+++ b/libs/PiwikTracker/PiwikTracker.php
@@ -1200,6 +1200,8 @@ class PiwikTracker
// Clear custom variables so they don't get copied over to other users in the bulk request
$this->clearCustomVariables();
+ $this->userAgent = false;
+ $this->acceptLanguage = false;
return true;
}