MM-39804 - Remove license expiration checks for cloud (#18921)

Этот коммит содержится в:
Maria A Nunez
2021-11-04 12:26:28 -04:00
коммит произвёл GitHub
родитель f921e69fe8
Коммит 7e728d0b6f

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

@@ -1761,6 +1761,11 @@ func (s *Server) doLicenseExpirationCheck() {
return
}
if *license.Features.Cloud {
mlog.Debug("Skipping license expiration check for Cloud")
return
}
users, err := s.Store.User().GetSystemAdminProfiles()
if err != nil {
mlog.Error("Failed to get system admins for license expired message from Mattermost.")