use the current_user parameter in MergeRequest#issues_mentioned_but_not_closing

This commit is contained in:
Dongqing Hu 2017-01-18 17:05:09 +08:00
parent e2f0b83061
commit d0db72983e

View file

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