Commit f9c929b3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'edit-new-cross-references'

parents be0631e1 aaa93d5a
......@@ -13,6 +13,7 @@ v 8.2.0 (unreleased)
- Show merge request CI status on merge requests index page
- Fix: 500 error returned if destroy request without HTTP referer (Kazuki Shimizu)
- Remove deprecated CI events from project settings page
- Use issue editor as cross reference comment author when issue is edited with a new mention.
v 8.1.1
- Fix cloning Wiki repositories via HTTP (Stan Hu)
......
......@@ -35,7 +35,7 @@ module Issues
create_title_change_note(issue, issue.previous_changes['title'].first)
end
issue.create_new_cross_references!
issue.create_new_cross_references!(current_user)
execute_hooks(issue, 'update')
end
......
......@@ -59,7 +59,7 @@ module MergeRequests
merge_request.mark_as_unchecked
end
merge_request.create_new_cross_references!
merge_request.create_new_cross_references!(current_user)
execute_hooks(merge_request, 'update')
end
......
......@@ -4,7 +4,7 @@ module Notes
return note unless note.editable?
note.update_attributes(params.merge(updated_by: current_user))
note.create_new_cross_references!
note.create_new_cross_references!(current_user)
note.reset_events_cache
note
......
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