From 92c37f7435ecfe8c75f6a2f4618ece435ef5b8e5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 13 Oct 2010 18:53:15 -0700 Subject: [PATCH] Remove `environment_load` action chain. It wasn't used. --- lib/vagrant/action/builtin.rb | 1 - lib/vagrant/environment.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/vagrant/action/builtin.rb b/lib/vagrant/action/builtin.rb index a4413e31a..f1aef3892 100644 --- a/lib/vagrant/action/builtin.rb +++ b/lib/vagrant/action/builtin.rb @@ -96,7 +96,6 @@ module Vagrant # Other callbacks. There will be more of these in the future. For # now, these are limited to what are needed internally. - register :environment_load, Builder.new register(:before_action_run, Builder.new do use General::Validate end) diff --git a/lib/vagrant/environment.rb b/lib/vagrant/environment.rb index 223aa434d..40824c43a 100644 --- a/lib/vagrant/environment.rb +++ b/lib/vagrant/environment.rb @@ -284,7 +284,6 @@ module Vagrant @loaded = true self.class.check_virtualbox! load_config! - actions.run(:environment_load) end self