summaryrefslogtreecommitdiff
path: root/app/models/legacy_diff_note.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/legacy_diff_note.rb')
-rw-r--r--app/models/legacy_diff_note.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/legacy_diff_note.rb b/app/models/legacy_diff_note.rb
index 0e1649aafe5..40277a9b139 100644
--- a/app/models/legacy_diff_note.rb
+++ b/app/models/legacy_diff_note.rb
@@ -53,10 +53,6 @@ class LegacyDiffNote < Note
self.line_code
end
- def to_discussion
- Discussion.new([self])
- end
-
# Check if this note is part of an "active" discussion
#
# This will always return true for anything except MergeRequest noteables,