Skip to content

Commit 392de8d

Browse files
authored
Remove dead code (#12060)
1 parent ac04aa6 commit 392de8d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

readthedocs/analytics/tasks.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,9 @@
44
from django.db import connection
55
from django.utils import timezone
66

7-
import readthedocs
87
from readthedocs.worker import app
98

109

11-
DEFAULT_PARAMETERS = {
12-
"v": "1", # analytics version (always 1)
13-
"aip": "1", # anonymize IP
14-
"tid": settings.GLOBAL_ANALYTICS_CODE,
15-
# User data
16-
"uip": "", # User IP address
17-
"ua": "", # User agent
18-
# Application info
19-
"an": "Read the Docs",
20-
"av": readthedocs.__version__, # App version
21-
}
22-
23-
2410
@app.task(queue="web")
2511
def delete_old_page_counts():
2612
"""

0 commit comments

Comments
 (0)