0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Correctly clear settings cache after import

fixes #6435
This commit is contained in:
Fabian Becker 2016-02-04 09:23:43 +01:00
parent e0239c44aa
commit 3cafc70022

View file

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