Update matomo.py

Removed a random note I forgot to take out
This commit is contained in:
SilverStrings (Matt) 2021-07-13 00:45:10 -04:00 committed by GitHub
parent 2d228686ad
commit b4611da6d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,9 +4,6 @@ from django.conf import settings
def consent_provider(request):
"""
Add Mamoto consent script to the requests context.
:Cases:
- If MATOMO_REQURE_CONSENT is True OR If ALWAYS_TRACK_REGISTERED True == continue on
- If ALWAYS_TRACK_REGISTERED is True AND the user is authenticated
"""
# Do we require consent?
if getattr(settings, 'MATOMO_REQUIRE_CONSENT', False):