From: André Walker Date: Thu, 21 Jul 2011 21:31:32 +0000 (-0300) Subject: _get_component_type is dead X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0f805cd27178c01e4b38b0bafb8babfa4e55506f;p=catagits%2FCatalyst-Runtime.git _get_component_type is dead --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 3427d7d..b7e833e 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2433,14 +2433,6 @@ sub _get_component_type_name { return (undef, $component); } -sub _get_component_type { - my ( $instance ) = @_; - - return 'controller' if $instance->isa('Catalyst::Controller'); - return 'model' if $instance->isa('Catalyst::Model'); - return 'view' if $instance->isa('Catalyst::View'); -} - =head2 $c->locate_components( $setup_component_config ) This method is meant to provide a list of component modules that should be