debian-mirror-gitlab/lib/gitlab/phabricator_import.rb

12 lines
225 B
Ruby
Raw Normal View History

2019-09-04 21:01:54 +05:30
# frozen_string_literal: true
module Gitlab
module PhabricatorImport
BaseError = Class.new(StandardError)
def self.available?
2023-03-17 16:20:25 +05:30
Gitlab::CurrentSettings.import_sources.include?('phabricator')
2019-09-04 21:01:54 +05:30
end
end
end