summaryrefslogtreecommitdiff
path: root/lib/chef/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/environment.rb')
-rw-r--r--lib/chef/environment.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/environment.rb b/lib/chef/environment.rb
index 545a2e51eb..621a122440 100644
--- a/lib/chef/environment.rb
+++ b/lib/chef/environment.rb
@@ -216,11 +216,6 @@ class Chef
end
end
- def self.json_create(o)
- Chef.deprecated(:json_auto_inflate, "Auto inflation of JSON data is deprecated. Please use Chef::Environment#from_hash")
- from_hash(o)
- end
-
def self.from_hash(o)
environment = new
environment.name(o["name"])