diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-30 16:30:42 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-30 16:30:42 +0100 |
commit | 9b57ad382e69044eb851f64cc0eb35896baa712a (patch) | |
tree | 0f298c060195b4f7bc0eaccd4dfdaa325d900c84 /app/models/diff_note.rb | |
parent | 43d50117187db1d8e034dbfc01e894a108f55369 (diff) | |
download | gitlab-ce-9b57ad382e69044eb851f64cc0eb35896baa712a.tar.gz |
Move #to_discussion to NoteOnDiff21211-comment-on-diff-partially-broken-after-updating-to-8-11
Diffstat (limited to 'app/models/diff_note.rb')
-rw-r--r-- | app/models/diff_note.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/diff_note.rb b/app/models/diff_note.rb index c8320ff87fa..4442cefc7e9 100644 --- a/app/models/diff_note.rb +++ b/app/models/diff_note.rb @@ -107,10 +107,6 @@ class DiffNote < Note self.noteable.find_diff_discussion(self.discussion_id) end - def to_discussion - Discussion.new([self]) - end - private def supported? |