summaryrefslogtreecommitdiff
path: root/app/models/legacy_diff_note.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-06-22 22:09:11 -0400
committerDouwe Maan <douwe@selenight.nl>2016-06-22 22:09:11 -0400
commitfa42ffa1191ace7dd849af6dffc3c3c400d5a4c4 (patch)
treebf14946daa27d5316e763fa89ef7a30fc1d54ffd /app/models/legacy_diff_note.rb
parent1d9bbb0b8ef4d67833fc99a5c6ffcdafa43a38d6 (diff)
downloadgitlab-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.rb2
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