diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-03-30 18:38:21 -0600 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-05 17:44:14 +0100 |
commit | 2058e71e63c9ac471137f831b4d04b6626968532 (patch) | |
tree | 5c06529ab83a209f8ad7b203d1f131a97041b0bf /app/models/legacy_diff_note.rb | |
parent | 874413cf701870a0fc1051f7c0a5fc4b4f884657 (diff) | |
download | gitlab-ce-2058e71e63c9ac471137f831b4d04b6626968532.tar.gz |
Extract commonalities between DiffDiscussion and LegacyDiffDiscussion
Diffstat (limited to 'app/models/legacy_diff_note.rb')
-rw-r--r-- | app/models/legacy_diff_note.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/models/legacy_diff_note.rb b/app/models/legacy_diff_note.rb index 4952a1ce2ca..0d86610e473 100644 --- a/app/models/legacy_diff_note.rb +++ b/app/models/legacy_diff_note.rb @@ -11,14 +11,6 @@ class LegacyDiffNote < Note LegacyDiffDiscussion end - def legacy_diff_note? - true - end - - def diff_attributes - { line_code: line_code } - end - def project_repository if RequestStore.active? RequestStore.fetch("project:#{project_id}:repository") { self.project.repository } |