Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-04 03:16:37 +0300
committerDouwe Maan <douwe@selenight.nl>2016-08-04 23:44:28 +0300
commit9b115ce4d3ccdd03043f070935d3a25e96f537f4 (patch)
treeed44a34ad65b2f128895b8c82801378809d5d01a /app/controllers/projects/notes_controller.rb
parenta3a672095d00e98499153d4dc598f4e1210d65f2 (diff)
Actually don't send resolved notifications when deleting a note
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-rw-r--r--app/controllers/projects/notes_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb
index 027a2d7dcb2..1849311d26d 100644
--- a/app/controllers/projects/notes_controller.rb
+++ b/app/controllers/projects/notes_controller.rb
@@ -72,6 +72,8 @@ class Projects::NotesController < Projects::ApplicationController
note.resolve!(current_user)
+ MergeRequests::AllDiscussionsResolvedService.new(project, current_user).execute(note.noteable)
+
discussion = note.discussion
render json: {