diff options
author | Chantal Rollison <crollison@gitlab.com> | 2018-11-02 16:29:32 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-11-02 16:29:32 +0000 |
commit | bb6b5653e28cf4f1b7264d318238797b08c74df3 (patch) | |
tree | ba65cb3e6a04ddd97659782a9e83a5b6749cf4b8 /app/services/milestones | |
parent | 45bc509352cf8d20fb15d6c638d6fe0335c20b62 (diff) | |
download | gitlab-ce-bb6b5653e28cf4f1b7264d318238797b08c74df3.tar.gz |
Add email for milestone change
Diffstat (limited to 'app/services/milestones')
-rw-r--r-- | app/services/milestones/destroy_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/milestones/destroy_service.rb b/app/services/milestones/destroy_service.rb index 7cda802c120..87c7a282081 100644 --- a/app/services/milestones/destroy_service.rb +++ b/app/services/milestones/destroy_service.rb @@ -4,7 +4,7 @@ module Milestones class DestroyService < Milestones::BaseService def execute(milestone) Milestone.transaction do - update_params = { milestone: nil } + update_params = { milestone: nil, skip_milestone_email: true } milestone.issues.each do |issue| Issues::UpdateService.new(parent, current_user, update_params).execute(issue) |