diff options
author | Robert Speicher <rspeicher@gmail.com> | 2019-06-13 23:06:38 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2019-06-13 23:06:38 +0300 |
commit | 21bf85553d257f0e1d80e63931ef7585c2afdae6 (patch) | |
tree | 9ad2e65414d4c725a7f6c4403fee462c128ab7bf /app | |
parent | e7a59b876e21ea25048533a3b289227b98f0139a (diff) | |
parent | ede045820f6dca8cb5dbf37c88635da21620c81e (diff) |
Merge branch 'sh-omit-blocked-admins-from-notification' into 'master'
Omit blocked admins from repository check e-mails
Closes #63019
See merge request gitlab-org/gitlab-ce!29507
Diffstat (limited to 'app')
-rw-r--r-- | app/mailers/repository_check_mailer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/repository_check_mailer.rb b/app/mailers/repository_check_mailer.rb index a24d3476d0e..aa56ba1828b 100644 --- a/app/mailers/repository_check_mailer.rb +++ b/app/mailers/repository_check_mailer.rb @@ -15,7 +15,7 @@ class RepositoryCheckMailer < BaseMailer end mail( - to: User.admins.pluck(:email), + to: User.admins.active.pluck(:email), subject: "GitLab Admin | #{@message}" ) end |