Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-10-19 16:38:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-10-19 16:38:27 +0300
commit18d7766e9e65a0966fd91b0959f49c96f8ad5845 (patch)
tree93bea1b4d4fb571a34ec92198d6844e481eaa7af /lib
parente23e7bc48165be175d7078d5e6fee002057046fd (diff)
Add latest changes from gitlab-org/gitlab@15-4-stable-ee
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/closing_issue_extractor.rb3
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