2019-09-04 21:01:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module PhabricatorImport
|
|
|
|
BaseError = Class.new(StandardError)
|
|
|
|
|
|
|
|
def self.available?
|
2022-07-16 23:28:13 +05:30
|
|
|
Feature.enabled?(:phabricator_import) &&
|
2019-09-04 21:01:54 +05:30
|
|
|
Gitlab::CurrentSettings.import_sources.include?('phabricator')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|