summaryrefslogtreecommitdiffstats
path: root/api/license.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-04-04 08:24:58 -0700
committerChristopher Speller <crspeller@gmail.com>2017-04-04 11:24:58 -0400
commitf0e451a2d3d2899a7a0566391d7fafe5578f5692 (patch)
tree7b635385110a537af023fa5d9b27d87b4b429ec2 /api/license.go
parentc4fd04efb642b42b5829e25b4fc5d8b389fff8de (diff)
downloadchat-f0e451a2d3d2899a7a0566391d7fafe5578f5692.tar.gz
chat-f0e451a2d3d2899a7a0566391d7fafe5578f5692.tar.bz2
chat-f0e451a2d3d2899a7a0566391d7fafe5578f5692.zip
Fixing config file watch and config reload on license save (#5954)
* Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue
Diffstat (limited to 'api/license.go')
-rw-r--r--api/license.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/api/license.go b/api/license.go
index 0e9eb6027..ea5de20d4 100644
--- a/api/license.go
+++ b/api/license.go
@@ -68,8 +68,6 @@ func addLicense(c *Context, w http.ResponseWriter, r *http.Request) {
c.Err = err
return
} else {
- app.ReloadConfig()
- app.InvalidateAllCaches()
c.LogAudit("success")
w.Write([]byte(license.ToJson()))
}