Этот коммит содержится в:
Chris
2017-09-19 18:31:35 -05:00
коммит произвёл GitHub
родитель 7e4ff6adcc
Коммит ac74066f0e
43 изменённых файлов: 259 добавлений и 262 удалений

Просмотреть файл

@@ -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()