Commit 8b562e2a authored by Robert Speicher's avatar Robert Speicher

Merge branch '18569-fix-diff-note-position' into 'master'

Restore old behavior around diff notes to outdated discussions

Fixes #18569

See merge request !4870
parents 1e96e7f6 fa42ffa1
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment