mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 04:10:33 +03:00
Merge pull request #6436 from halfdan/6435-fix-settings-cache
Correctly clear settings cache after import
This commit is contained in:
commit
a9a5008aa2
@ -85,7 +85,9 @@ db = {
|
||||
|
||||
function importContent(options) {
|
||||
return importer.importFromFile(options.importfile)
|
||||
.then(api.settings.updateSettingsCache)
|
||||
.then(function () {
|
||||
api.settings.updateSettingsCache();
|
||||
})
|
||||
.return({db: []});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user