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>2016-09-27 05:58:43 +0300
committermattab <matthieu.aubry@gmail.com>2016-09-27 05:58:43 +0300
commit829b444f6513cc897b22e09b53a64f47078a76c3 (patch)
tree45a7499d8dbe6dab5818f3724605744f4c4ac041 /plugins
parent60ab0f1cc3ecbc1f78bd90c2551cb9adba5d73bb (diff)
Delete UID cookie only when found
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PrivacyManager/DoNotTrackHeaderChecker.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/PrivacyManager/DoNotTrackHeaderChecker.php b/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
index 108ec45748..c8c6f9df9b 100644
--- a/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
+++ b/plugins/PrivacyManager/DoNotTrackHeaderChecker.php
@@ -44,8 +44,7 @@ class DoNotTrackHeaderChecker
if($exclude) {
- $trackingCookie = IgnoreCookie::getTrackingCookie();
- $trackingCookie->delete();
+ IgnoreCookie::deleteThirdPartyCookieUIDIfExists();
// this is an optional supplement to the site's tracking status resource at:
// /.well-known/dnt