From: Christian Hansen Date: Mon, 4 Apr 2005 15:23:44 +0000 (+0000) Subject: remove "last unless $c->state" from if statement X-Git-Tag: 5.7099_04~1597 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=bad37622970e52721906d814ea3f506fbaa7c0aa remove "last unless $c->state" from if statement --- diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index a095811..21cf434 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -122,7 +122,6 @@ sub dispatch { if ( my $begin = @{ $c->get_action( 'begin', $namespace ) }[-1] ) { $c->execute( @{ $begin->[0] } ); return if scalar @{$c->error}; - last unless $c->state; } # Execute the auto chain @@ -143,7 +142,6 @@ sub dispatch { if ( my $end = @{ $c->get_action( 'end', $namespace ) }[-1] ) { $c->execute( @{ $end->[0] } ); return if scalar @{$c->error}; - last unless $c->state; } } else {