Commit d0db7298 authored by Dongqing Hu's avatar Dongqing Hu

use the current_user parameter in MergeRequest#issues_mentioned_but_not_closing

parent e2f0b830
...@@ -576,7 +576,7 @@ class MergeRequest < ActiveRecord::Base ...@@ -576,7 +576,7 @@ class MergeRequest < ActiveRecord::Base
ext = Gitlab::ReferenceExtractor.new(project, current_user) ext = Gitlab::ReferenceExtractor.new(project, current_user)
ext.analyze(description) ext.analyze(description)
ext.issues - closes_issues ext.issues - closes_issues(current_user)
end end
def target_project_path def target_project_path
......
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