diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-03 10:39:43 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-11-07 20:30:55 -0500 |
commit | cad0648cbe2b7511cd530eabfe526a40c1c090ba (patch) | |
tree | f73ff80ae1e7a31dac4949ebb9f39a4f3a34f4d7 /ext | |
parent | f7700789fe7888636cb246ba167dbc057cd3288e (diff) |
Remove unused function
Diffstat (limited to 'ext')
-rw-r--r-- | ext/bg/js/database.js | 6 | ||||
-rw-r--r-- | ext/bg/js/util.js | 4 |
2 files changed, 0 insertions, 10 deletions
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(); } |