summaryrefslogtreecommitdiffstats
path: root/app/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/config.go')
-rw-r--r--app/config.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/config.go b/app/config.go
index 3039d4426..526d47a77 100644
--- a/app/config.go
+++ b/app/config.go
@@ -27,7 +27,6 @@ func (a *App) UpdateConfig(f func(*model.Config)) {
updated := old.Clone()
f(updated)
a.config.Store(updated)
- utils.Cfg = updated
a.InvokeConfigListeners(old, updated)
}
@@ -48,7 +47,6 @@ func (a *App) LoadConfig(configFile string) *model.AppError {
utils.ConfigureLog(&cfg.LogSettings)
a.config.Store(cfg)
- utils.Cfg = cfg
utils.SetSiteURL(*cfg.ServiceSettings.SiteURL)