Restore old behavior around diff notes to outdated discussions

This commit is contained in:
Douwe Maan 2016-06-22 22:09:11 -04:00
parent 1d9bbb0b8e
commit fa42ffa119

View file

@ -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