Merge pull request #6436 from halfdan/6435-fix-settings-cache

Correctly clear settings cache after import
This commit is contained in:
Hannah Wolfe 2016-02-04 20:43:51 +00:00
commit a9a5008aa2

View File

@ -85,7 +85,9 @@ db = {
function importContent(options) { function importContent(options) {
return importer.importFromFile(options.importfile) return importer.importFromFile(options.importfile)
.then(api.settings.updateSettingsCache) .then(function () {
api.settings.updateSettingsCache();
})
.return({db: []}); .return({db: []});
} }