From cad0648cbe2b7511cd530eabfe526a40c1c090ba Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Sun, 3 Nov 2019 10:39:43 -0500 Subject: Remove unused function --- ext/bg/js/database.js | 6 ------ ext/bg/js/util.js | 4 ---- 2 files changed, 10 deletions(-) (limited to 'ext/bg') diff --git a/ext/bg/js/database.js b/ext/bg/js/database.js index dc2198ac..3476b715 100644 --- a/ext/bg/js/database.js +++ b/ext/bg/js/database.js @@ -232,12 +232,6 @@ class Database { return result; } - async summarize() { - this.validate(); - - return this.db.dictionaries.toArray(); - } - async getDictionaryInfo() { this.validate(); diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js index f9686943..a6126677 100644 --- a/ext/bg/js/util.js +++ b/ext/bg/js/util.js @@ -80,10 +80,6 @@ function utilAnkiGetDeckNames() { return utilBackend().anki.getDeckNames(); } -function utilDatabaseSummarize() { - return utilBackend().translator.database.summarize(); -} - function utilDatabaseGetDictionaryInfo() { return utilBackend().translator.database.getDictionaryInfo(); } -- cgit v1.2.3