diff options
author | Douwe Maan <douwe@selenight.nl> | 2016-06-22 22:09:11 -0400 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2016-06-22 22:09:11 -0400 |
commit | fa42ffa1191ace7dd849af6dffc3c3c400d5a4c4 (patch) | |
tree | bf14946daa27d5316e763fa89ef7a30fc1d54ffd /app/models/legacy_diff_note.rb | |
parent | 1d9bbb0b8ef4d67833fc99a5c6ffcdafa43a38d6 (diff) | |
download | gitlab-ce-fa42ffa1191ace7dd849af6dffc3c3c400d5a4c4.tar.gz |
Restore old behavior around diff notes to outdated discussions
Diffstat (limited to 'app/models/legacy_diff_note.rb')
-rw-r--r-- | app/models/legacy_diff_note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/legacy_diff_note.rb b/app/models/legacy_diff_note.rb index 95fd510eb3a..33d2a69ebaf 100644 --- a/app/models/legacy_diff_note.rb +++ b/app/models/legacy_diff_note.rb @@ -20,7 +20,7 @@ class LegacyDiffNote < Note end def discussion_id - @discussion_id ||= self.class.build_discussion_id(noteable_type, noteable_id || commit_id, line_code, active?) + @discussion_id ||= self.class.build_discussion_id(noteable_type, noteable_id || commit_id, line_code) end def diff_file_hash |