Firefox: move callback to last call

This commit is contained in:
Deathamns 2014-12-20 11:57:05 +01:00
parent 1bb074211c
commit d4b2b81ae8

View file

@ -217,8 +217,8 @@ vAPI.storage = {
); );
}, },
clear: function(callback) { clear: function(callback) {
SQLite.run('DELETE FROM settings', null, callback); SQLite.run('DELETE FROM settings');
SQLite.run('VACUUM'); SQLite.run('VACUUM', null, callback);
}, },
getBytesInUse: function(keys, callback) { getBytesInUse: function(keys, callback) {
if (typeof callback !== 'function') { if (typeof callback !== 'function') {