summaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <FooSoft@users.noreply.github.com>2019-10-20 11:04:17 -0700
committerGitHub <noreply@github.com>2019-10-20 11:04:17 -0700
commit65923238556212fef2d7ed7a156373c88382ffd2 (patch)
tree54272c663f1992e4a1117b5e5a62dc3f9f911dcc /ext/bg/js/util.js
parent03c72e94290fdb1e77f1ca247efb526a0dc9f44e (diff)
parenteea95eb130e8c444b93353f68f417ad2390795d7 (diff)
Merge pull request #259 from toasted-nutbread/database-optimizations2
Database optimizations part 2
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) {