From c6153ff84fb13a7fb3623d50768a9145a9dec8e9 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Mon, 15 Mar 2021 15:36:33 -0700 Subject: [PATCH] Remove deprecation log messages --- lib/vagrant/environment.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index e359cf09d..f652ac3c2 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -27,10 +27,6 @@ module Vagrant DEFAULT_LOCAL_DATA = ".vagrant" - # List of hooks which are deprecated and should log a warning - # when used - DEPRECATED_HOOKS = [:authenticate_box_url].freeze - # The `cwd` that this environment represents attr_reader :cwd @@ -522,11 +518,6 @@ module Vagrant def hook(name, opts=nil) @logger.info("Running hook: #{name}") - if DEPRECATED_HOOKS.include?(name.to_sym) - @logger.warn("Deprecated hook: #{name}. This hook is deprecated and " \ - "will be removed in a future version of Vagrant.") - end - opts ||= {} opts[:callable] ||= Action::Builder.new opts[:runner] ||= action_runner