X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst.pm;fp=lib%2FCatalyst.pm;h=53e06a987495eeb475945025282a5e6a2a8e5b54;hb=3d754f5852a61d0f5ba6321385d2ddb5bbb27ae5;hp=9343dc68157aef1284f709a75ddf53ee839d20fc;hpb=f3cd5ef8fdce3d95236100841532896add2d2b84;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 9343dc6..53e06a9 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -738,8 +738,8 @@ sub component { # FIXME: I probably shouldn't be doing this # I'm keeping it temporarily for things like $c->comp('MyApp') - return $c->components->{$component} - if exists $c->components->{$component} and !@args; + #return $c->components->{$component} + # if exists $c->components->{$component} and !@args; $c->log->warn("Looking for '$component', but nothing was found.");