chore: remove dead code
This commit is contained in:
parent
19c7d73444
commit
ccca6c345c
1 changed files with 0 additions and 14 deletions
|
|
@ -216,29 +216,15 @@ function load (versionId) {
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
function migrate () {
|
|
||||||
return loadLatest(OLD_SETTINGS_LOADER_SCHEMA_VERSION)
|
|
||||||
.then(res => {
|
|
||||||
const migrated = migration.migrate(res.config, res.accounts)
|
|
||||||
saveConfig(migrated.config)
|
|
||||||
saveAccounts(migrated.accounts)
|
|
||||||
|
|
||||||
return migrated
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
saveConfig,
|
saveConfig,
|
||||||
migrationSaveConfig,
|
migrationSaveConfig,
|
||||||
resetConfig,
|
|
||||||
saveAccounts,
|
saveAccounts,
|
||||||
resetAccounts,
|
|
||||||
loadAccounts,
|
loadAccounts,
|
||||||
showAccounts,
|
showAccounts,
|
||||||
loadLatest,
|
loadLatest,
|
||||||
loadLatestConfig,
|
loadLatestConfig,
|
||||||
loadLatestConfigOrNone,
|
loadLatestConfigOrNone,
|
||||||
load,
|
load,
|
||||||
migrate,
|
|
||||||
removeFromConfig
|
removeFromConfig
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue