mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +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) {
|
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: []});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user