Skip to content
Snippets Groups Projects
Commit d0db7298 authored by Dongqing Hu's avatar Dongqing Hu
Browse files

use the current_user parameter in MergeRequest#issues_mentioned_but_not_closing

parent e2f0b830
No related branches found
No related tags found
1 merge request!8624pass in current_user in MergeRequest and MergeRequestsHelper
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment