gitlab-org--gitlab-foss/config/initializers/deprecations.rb
2018-04-13 14:52:33 -03:00

5 lines
237 B
Ruby

deprecator = ActiveSupport::Deprecation.new('11.0', 'GitLab')
if Gitlab.com? || Rails.env.development?
ActiveSupport::Deprecation.deprecate_methods(Gitlab::GitalyClient::StorageSettings, :legacy_disk_path, deprecator: deprecator)
end