diff options
author | Chris <ccbrown112@gmail.com> | 2017-09-19 18:31:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 18:31:35 -0500 |
commit | ac74066f0e4f3d62f2d4645c3fa34b88c13958d1 (patch) | |
tree | 9e1cb80eae1b4a2e9dcc2272744c4a9db1b4b804 /app/license.go | |
parent | 7e4ff6adcccc4cc5a8fb8cfa853417ec52bf78f4 (diff) | |
download | chat-ac74066f0e4f3d62f2d4645c3fa34b88c13958d1.tar.gz chat-ac74066f0e4f3d62f2d4645c3fa34b88c13958d1.tar.bz2 chat-ac74066f0e4f3d62f2d4645c3fa34b88c13958d1.zip |
remove einterface gets (#7455)
Diffstat (limited to 'app/license.go')
-rw-r--r-- | app/license.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/license.go b/app/license.go index 5c3dbdd9f..18836c571 100644 --- a/app/license.go +++ b/app/license.go @@ -86,7 +86,7 @@ func (a *App) SaveLicense(licenseBytes []byte) (*model.License, *model.AppError) return nil, model.NewAppError("addLicense", model.INVALID_LICENSE_ERROR, nil, "", http.StatusBadRequest) } - ReloadConfig() + a.ReloadConfig() a.InvalidateAllCaches() return license, nil @@ -104,7 +104,7 @@ func (a *App) RemoveLicense() *model.AppError { return result.Err } - ReloadConfig() + a.ReloadConfig() a.InvalidateAllCaches() |