diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-28 15:39:18 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-28 15:39:18 +0200 |
commit | 5ad4be295f68310bbd031585bbf6e203084f325e (patch) | |
tree | 7e2ed3915a87f007c8578d0e3effce3be47d3abc /app/models/note.rb | |
parent | 70947fedda4f955f69d928ad0309b3f042056582 (diff) | |
download | gitlab-ce-5ad4be295f68310bbd031585bbf6e203084f325e.tar.gz |
remove notify checkboxes from note forms
Diffstat (limited to 'app/models/note.rb')
-rw-r--r-- | app/models/note.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index f56f999fda1..f26420ca2a0 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -22,9 +22,6 @@ class Note < ActiveRecord::Base attr_accessible :note, :noteable, :noteable_id, :noteable_type, :project_id, :attachment, :line_code, :commit_id - attr_accessor :notify - attr_accessor :notify_author - belongs_to :project belongs_to :noteable, polymorphic: true belongs_to :author, class_name: "User" @@ -143,14 +140,6 @@ class Note < ActiveRecord::Base nil end - def notify - @notify ||= false - end - - def notify_author - @notify_author ||= false - end - # Returns true if this is an upvote note, # otherwise false is returned def upvote? |