From 5f1bb28f5dbcaf1cf33cf324d8fbde3d06675a48 Mon Sep 17 00:00:00 2001 From: mungai-njoroge Date: Fri, 10 Nov 2023 16:27:16 +0300 Subject: [PATCH] remove telemetry from migrations --- app/migrations/v1_3_0/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/migrations/v1_3_0/__init__.py b/app/migrations/v1_3_0/__init__.py index d2f44d3..b1df7b2 100644 --- a/app/migrations/v1_3_0/__init__.py +++ b/app/migrations/v1_3_0/__init__.py @@ -11,8 +11,6 @@ from app.migrations.base import Migration from app.settings import Paths from app.utils.decorators import coroutine from app.utils.hashing import create_hash -from app.telemetry import Telemetry -from app.utils.threading import background # playlists table # --------------- @@ -25,11 +23,6 @@ from app.utils.threading import background # 6: trackhashes -@background -def send_telemetry(): - Telemetry.send_app_installed() - - class RemoveSmallThumbnailFolder(Migration): """ Removes the small thumbnail folder. @@ -41,7 +34,6 @@ class RemoveSmallThumbnailFolder(Migration): @staticmethod def migrate(): - send_telemetry() thumbs_sm_path = Paths.get_sm_thumb_path() thumbs_lg_path = Paths.get_lg_thumb_path()