X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=b1e066d648ce778c0c78eb51c781e474c3e33762;hb=c09994fa916c87876a4b1458e17ee2b5c5b500e5;hp=ab05605105bdde76df8a486519ae46e8099b15e7;hpb=ef9ebe8ef9785b0fec3e3b20e70212e701f1c397;p=maypole.git 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; }