summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_directory.rb
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2017-03-08 12:13:59 +0000
committerThom May <thom@chef.io>2017-03-08 12:20:52 +0000
commitfd635b939f477944f1a4ce2b475c66228cd401a5 (patch)
treeaccf0113ecc04517fdb8df9f176dd795ef767952 /lib/chef/provider/remote_directory.rb
parent7a5f81001ce4f53a96062d2202307516f4c0948f (diff)
downloadchef-fd635b939f477944f1a4ce2b475c66228cd401a5.tar.gz
Remove all 11 era deprecationstm/reremove_11_deprecations
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/provider/remote_directory.rb')
-rw-r--r--lib/chef/provider/remote_directory.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/chef/provider/remote_directory.rb b/lib/chef/provider/remote_directory.rb
index d2f90d233b..6f4956de96 100644
--- a/lib/chef/provider/remote_directory.rb
+++ b/lib/chef/provider/remote_directory.rb
@@ -23,8 +23,6 @@ require "chef/resource/cookbook_file"
require "chef/mixin/file_class"
require "chef/platform/query_helpers"
require "chef/util/path_helper"
-require "chef/deprecation/warnings"
-require "chef/deprecation/provider/remote_directory"
require "forwardable"
@@ -268,16 +266,6 @@ class Chef
res
end
- #
- # Add back deprecated methods and aliases that are internally unused and should be removed in Chef-13
- #
- extend Chef::Deprecation::Warnings
- include Chef::Deprecation::Provider::RemoteDirectory
- add_deprecation_warnings_for(Chef::Deprecation::Provider::RemoteDirectory.instance_methods)
-
- alias_method :resource_for_directory, :directory_resource
- add_deprecation_warnings_for([:resource_for_directory])
-
end
end
end