diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-05 12:56:31 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-05 12:56:31 -0500 |
commit | 09330dd17c73aefc1c9b8c7295a4b4a0c805a34b (patch) | |
tree | 55cfbcfd45ebd0832fe56dcdf297850f6a2c8fa5 /app/controllers/projects/notes_controller.rb | |
parent | 008559267023f16ff5061ae03fecf8cf80e6b662 (diff) | |
download | gitlab-ce-09330dd17c73aefc1c9b8c7295a4b4a0c805a34b.tar.gz |
Remove unused code
Diffstat (limited to 'app/controllers/projects/notes_controller.rb')
-rw-r--r-- | app/controllers/projects/notes_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/projects/notes_controller.rb b/app/controllers/projects/notes_controller.rb index 881e6d8d4b5..405ea3c0a4f 100644 --- a/app/controllers/projects/notes_controller.rb +++ b/app/controllers/projects/notes_controller.rb @@ -28,8 +28,7 @@ class Projects::NotesController < Projects::ApplicationController def create create_params = note_params.merge( merge_request_diff_head_sha: params[:merge_request_diff_head_sha], - in_reply_to_discussion_id: params[:in_reply_to_discussion_id], - new_discussion: params[:new_discussion], + in_reply_to_discussion_id: params[:in_reply_to_discussion_id] ) @note = Notes::CreateService.new(project, current_user, create_params).execute |