diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-08 15:13:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-12-08 15:13:04 +0300 |
commit | 886ecba0bd2d964504b43303a39cfa2386f0feed (patch) | |
tree | e814b9f24f3df16bc1a8c8725a168fac3844d719 /app/services/namespaces | |
parent | cb09086128f2923126d009a88b478ff3919c8309 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/namespaces')
-rw-r--r-- | app/services/namespaces/invite_team_email_service.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/services/namespaces/invite_team_email_service.rb b/app/services/namespaces/invite_team_email_service.rb index 45975d1953a..78edc205990 100644 --- a/app/services/namespaces/invite_team_email_service.rb +++ b/app/services/namespaces/invite_team_email_service.rb @@ -29,13 +29,12 @@ module Namespaces return if email_for_track_sent_to_user? experiment(:invite_team_email, group: group) do |e| + e.publish_to_database e.candidate do send_email(user, group) sent_email_records.add(user, track, series) sent_email_records.save! end - - e.record! end end |