diff --git a/js/modules/messages_data_migrator.js b/js/modules/messages_data_migrator.js index 1e2a5b309..2071f69df 100644 --- a/js/modules/messages_data_migrator.js +++ b/js/modules/messages_data_migrator.js @@ -75,15 +75,10 @@ exports.processNext = async ({ }; exports.processAll = async ({ - Backbone, databaseName, minDatabaseVersion, upgradeMessageSchema, } = {}) => { - if (!isObject(Backbone)) { - throw new TypeError('"Backbone" is required'); - } - if (!isString(databaseName)) { throw new TypeError('"databaseName" must be a string'); }