From 745e898bcc6a5de2aca48e6131dd9093939783ef Mon Sep 17 00:00:00 2001 From: Mikunj Date: Tue, 10 Mar 2020 11:30:49 +1100 Subject: [PATCH] Remove more unused functions --- js/background.js | 4 ---- ts/global.d.ts | 1 - 2 files changed, 5 deletions(-) diff --git a/js/background.js b/js/background.js index 0a3da81e1..7485c5831 100644 --- a/js/background.js +++ b/js/background.js @@ -331,10 +331,6 @@ $('.dark-overlay').on('click', () => $('.dark-overlay').remove()); }, removeDarkOverlay: () => $('.dark-overlay').remove(), - deleteAllData: () => { - const clearDataView = new window.Whisper.ClearDataView().render(); - $('body').append(clearDataView.el); - }, shutdown: async () => { // Stop background processing diff --git a/ts/global.d.ts b/ts/global.d.ts index 6de051bd7..34564325a 100644 --- a/ts/global.d.ts +++ b/ts/global.d.ts @@ -4,7 +4,6 @@ interface Window { Events: any; Lodash: any; - deleteAllData: any; clearLocalData: any; getAccountManager: any; getConversations: any;