use the current_user parameter in MergeRequest#issues_mentioned_but_not_closing
This commit is contained in:
parent
e2f0b83061
commit
d0db72983e
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ class MergeRequest < ActiveRecord::Base
|
|||
ext = Gitlab::ReferenceExtractor.new(project, current_user)
|
||||
ext.analyze(description)
|
||||
|
||||
ext.issues - closes_issues
|
||||
ext.issues - closes_issues(current_user)
|
||||
end
|
||||
|
||||
def target_project_path
|
||||
|
|
Loading…
Reference in a new issue