diff options
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() |