MM-39804 - Remove license expiration checks for cloud (#18921)
Этот коммит содержится в:
коммит произвёл
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.")
|
||||
|
||||
Ссылка в новой задаче
Block a user