Skip to content

Commit

Permalink
Add check to not send license expiration email when in Cloud (matterm…
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmisasi authored Jun 10, 2024
1 parent 4acc479 commit b86ba51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/channels/app/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,10 @@ func (s *Server) doLicenseExpirationCheck() {
return
}

if license.IsCloud() {
return
}

users, err := s.Store().User().GetSystemAdminProfiles()
if err != nil {
mlog.Error("Failed to get system admins for license expired message from Mattermost.")
Expand Down

0 comments on commit b86ba51

Please sign in to comment.