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:
Diffstat (limited to 'js/piwik.js')
-rw-r--r--js/piwik.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/piwik.js b/js/piwik.js
index 2c5438963a..101bd1060c 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -6779,8 +6779,7 @@ if (typeof window.Matomo !== 'object') {
*/
this.forgetUserOptOut = function () {
// we can't automatically enable cookies here as we don't know if user actually gave consent for cookies
- var setCookieConsent = false;
- this.rememberConsentGiven(0, setCookieConsent);
+ this.setConsentGiven(false);
};
/**