summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/scope.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/puppet/parser/scope.rb b/lib/puppet/parser/scope.rb
index 24f1d01f7..53289b87d 100644
--- a/lib/puppet/parser/scope.rb
+++ b/lib/puppet/parser/scope.rb
@@ -104,11 +104,6 @@ class Puppet::Parser::Scope
compiler.environment
end
- # Are we the top scope?
- def topscope?
- @level == 1
- end
-
def find_hostclass(name)
known_resource_types.find_hostclass(namespaces, name)
end