Fix configInSync which is still needed

This commit is contained in:
Jakob Borg
2014-10-06 21:28:16 +02:00
parent 214f18cbfd
commit 5338f1cfbd
2 changed files with 19 additions and 50 deletions

View File

@@ -346,6 +346,7 @@ func restPostConfig(m *model.Model, w http.ResponseWriter, r *http.Request) {
// Activate and save
configInSync = config.ChangeRequiresRestart(cfg.Raw(), newCfg)
cfg.Replace(newCfg)
cfg.Save()
}