summaryrefslogtreecommitdiff
path: root/app/models/concerns/note_on_diff.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/note_on_diff.rb')
-rw-r--r--app/models/concerns/note_on_diff.rb9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/models/concerns/note_on_diff.rb b/app/models/concerns/note_on_diff.rb
index b8dd27a7afe..1a5a7007a2b 100644
--- a/app/models/concerns/note_on_diff.rb
+++ b/app/models/concerns/note_on_diff.rb
@@ -1,3 +1,4 @@
+# Contains functionality shared between `DiffNote` and `LegacyDiffNote`.
module NoteOnDiff
extend ActiveSupport::Concern
@@ -24,12 +25,4 @@ module NoteOnDiff
def diff_attributes
raise NotImplementedError
end
-
- def can_be_award_emoji?
- false
- end
-
- def to_discussion
- Discussion.new([self])
- end
end