X-Git-Url: https://git.decadent.org.uk/gitweb/?p=maypole.git;a=blobdiff_plain;f=lib%2FMaypole.pm;h=b1e066d648ce778c0c78eb51c781e474c3e33762;hp=ab05605105bdde76df8a486519ae46e8099b15e7;hb=b1dc5246c8917c4d0e11c154537c902baa654c84;hpb=ef9ebe8ef9785b0fec3e3b20e70212e701f1c397 diff --git a/lib/Maypole.pm b/lib/Maypole.pm index ab05605..b1e066d 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -453,20 +453,14 @@ sub handler : method { $self->status(Maypole::Constants::OK()); # set the default $self->__call_hook('start_request_hook'); return $self->status unless $self->status == Maypole::Constants::OK(); - die "status undefined after start_request_hook()" unless defined $self->status; - $self->get_session; $self->get_user; - my $status = $self->handler_guts; - return $status unless $status == OK; - # TODO: require send_output to return a status code $self->send_output; - return $status; }