remove now-unused clearDidOptIn

This commit is contained in:
Christopher Willis-Ford 2020-12-15 15:28:39 -08:00
parent bcc9ff5c1e
commit 7f8d0d7084
2 changed files with 0 additions and 6 deletions

View file

@ -36,9 +36,6 @@ class ScratchDesktopTelemetry {
set didOptIn (value) { set didOptIn (value) {
this._telemetryClient.didOptIn = value; this._telemetryClient.didOptIn = value;
} }
clearDidOptIn () {
this._telemetryClient.clearDidOptIn();
}
appWasOpened () { appWasOpened () {
this._telemetryClient.addEvent('app::open', {...EVENT_TEMPLATE, ...APP_INFO}); this._telemetryClient.addEvent('app::open', {...EVENT_TEMPLATE, ...APP_INFO});

View file

@ -185,9 +185,6 @@ class TelemetryClient {
set didOptIn (value) { set didOptIn (value) {
this._store.set('optIn', !!value); this._store.set('optIn', !!value);
} }
clearDidOptIn () {
this._store.delete('optIn');
}
/** /**
* Semi-persistent unique ID for this client * Semi-persistent unique ID for this client