提交 8b562e2a 编写于 作者: R 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
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册