summaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-19 13:32:05 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-10-19 13:32:05 -0400
commit610c2b9cca953e102aa31449d604d24d2840cce3 (patch)
treeeb1aebc97df9c0843fb72f5085d88cbcb8379d6d /ext/bg/js/util.js
parent6f5fa6771bac24bb56c137fea6d7387d507aaf39 (diff)
Move tagCache out of Database and into Translator
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r--ext/bg/js/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js
index 73a8396f..1ca0833b 100644
--- a/ext/bg/js/util.js
+++ b/ext/bg/js/util.js
@@ -89,7 +89,7 @@ function utilAnkiGetModelFieldNames(modelName) {
}
function utilDatabasePurge() {
- return utilBackend().translator.database.purge();
+ return utilBackend().translator.purgeDatabase();
}
async function utilDatabaseImport(data, progress, exceptions) {