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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-30 00:08:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-30 00:08:54 +0300
commit5d47d3f8ed7a2957c6feb96e3011bdfb93b7db29 (patch)
tree58a907ec1fcc3b82e4ff1b4348aa1d9ff7df6b22 /app/services/bulk_create_integration_service.rb
parentce27ba9f6c36ecb36114887853a5820c83a7036c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/bulk_create_integration_service.rb')
-rw-r--r--app/services/bulk_create_integration_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/bulk_create_integration_service.rb b/app/services/bulk_create_integration_service.rb
index 96bf8a6abaf..06a2a107966 100644
--- a/app/services/bulk_create_integration_service.rb
+++ b/app/services/bulk_create_integration_service.rb
@@ -34,11 +34,11 @@ class BulkCreateIntegrationService
end
def run_callbacks(batch)
- if integration.issue_tracker? && integration.active?
+ if integration.external_issue_tracker?
batch.update_all(has_external_issue_tracker: true)
end
- if integration.type == 'ExternalWikiService' && integration.active?
+ if integration.external_wiki?
batch.update_all(has_external_wiki: true)
end
end