From 3cafc7002283577c82076e88df249edc5fbce4e4 Mon Sep 17 00:00:00 2001 From: Fabian Becker Date: Thu, 4 Feb 2016 09:23:43 +0100 Subject: [PATCH] Correctly clear settings cache after import fixes #6435 --- core/server/api/db.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/server/api/db.js b/core/server/api/db.js index e5e8bcdb05..ff8fed12dc 100644 --- a/core/server/api/db.js +++ b/core/server/api/db.js @@ -85,7 +85,9 @@ db = { function importContent(options) { return importer.importFromFile(options.importfile) - .then(api.settings.updateSettingsCache) + .then(function () { + api.settings.updateSettingsCache(); + }) .return({db: []}); }