aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-background.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r--js/vapi-background.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js
index 09a5842..67d540e 100644
--- a/js/vapi-background.js
+++ b/js/vapi-background.js
@@ -359,8 +359,7 @@ vAPI.storage = (function() {
let path2 = Services.dirsvc.get('ProfD', Ci.nsIFile);
path2.append('extension-data');
if (path2.exists()) {
- path2.append(location.host + '.sqlite');
- path2.copyTo(path, location.host + '.sqlite');
+ path2.moveTo(null, path.leafName);
}
path.append(location.host + '.sqlite');