summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/interface.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/puppet/interface.rb b/lib/puppet/interface.rb
index 13b1a811b..38841d948 100644
--- a/lib/puppet/interface.rb
+++ b/lib/puppet/interface.rb
@@ -53,10 +53,6 @@ class Puppet::Interface
const_set(constantize(name), instance)
end
- def self.unload_interface(name)
- remove_const(constantize(name)) rescue nil
- end
-
def self.constantize(name)
unless name.to_s =~ /^[-_a-z]+$/i then
raise ArgumentError, "#{name.inspect} (#{name.class}) is not a valid interface name"