diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/closing_issue_extractor.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/closing_issue_extractor.rb b/lib/gitlab/closing_issue_extractor.rb index 7104de2a3c3..b06cb4f10e2 100644 --- a/lib/gitlab/closing_issue_extractor.rb +++ b/lib/gitlab/closing_issue_extractor.rb @@ -27,8 +27,7 @@ module Gitlab @extractor.issues.reject do |issue| @extractor.project.forked_from?(issue.project) || - !issue.project.autoclose_referenced_issues || - !issue.project.issues_enabled? + !issue.project.autoclose_referenced_issues end end end |