diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-19 16:38:27 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-19 16:38:27 +0300 |
commit | 18d7766e9e65a0966fd91b0959f49c96f8ad5845 (patch) | |
tree | 93bea1b4d4fb571a34ec92198d6844e481eaa7af /lib/gitlab/closing_issue_extractor.rb | |
parent | e23e7bc48165be175d7078d5e6fee002057046fd (diff) |
Add latest changes from gitlab-org/gitlab@15-4-stable-ee
Diffstat (limited to 'lib/gitlab/closing_issue_extractor.rb')
-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 |