diff options
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 3 |
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); }; /** |