summaryrefslogtreecommitdiff
path: root/app/contexts
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-28 15:39:18 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-28 15:39:18 +0200
commit5ad4be295f68310bbd031585bbf6e203084f325e (patch)
tree7e2ed3915a87f007c8578d0e3effce3be47d3abc /app/contexts
parent70947fedda4f955f69d928ad0309b3f042056582 (diff)
downloadgitlab-ce-5ad4be295f68310bbd031585bbf6e203084f325e.tar.gz
remove notify checkboxes from note forms
Diffstat (limited to 'app/contexts')
-rw-r--r--app/contexts/notes/create_context.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/contexts/notes/create_context.rb b/app/contexts/notes/create_context.rb
index 1367dff4699..36ea76ff949 100644
--- a/app/contexts/notes/create_context.rb
+++ b/app/contexts/notes/create_context.rb
@@ -3,8 +3,6 @@ module Notes
def execute
note = project.notes.new(params[:note])
note.author = current_user
- note.notify = params[:notify].present?
- note.notify_author = params[:notify_author].present?
note.save
note
end