diff --git a/src/main/ScratchDesktopTelemetry.js b/src/main/ScratchDesktopTelemetry.js index 802b8f9..906a7d4 100644 --- a/src/main/ScratchDesktopTelemetry.js +++ b/src/main/ScratchDesktopTelemetry.js @@ -36,9 +36,6 @@ class ScratchDesktopTelemetry { set didOptIn (value) { this._telemetryClient.didOptIn = value; } - clearDidOptIn () { - this._telemetryClient.clearDidOptIn(); - } appWasOpened () { this._telemetryClient.addEvent('app::open', {...EVENT_TEMPLATE, ...APP_INFO}); diff --git a/src/main/telemetry/TelemetryClient.js b/src/main/telemetry/TelemetryClient.js index fafda8b..c38cb5b 100644 --- a/src/main/telemetry/TelemetryClient.js +++ b/src/main/telemetry/TelemetryClient.js @@ -185,9 +185,6 @@ class TelemetryClient { set didOptIn (value) { this._store.set('optIn', !!value); } - clearDidOptIn () { - this._store.delete('optIn'); - } /** * Semi-persistent unique ID for this client