X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=b1e066d648ce778c0c78eb51c781e474c3e33762;hb=f8e4b72969011ae26de5b52a212a9e5498c58c14;hp=b832f8b222781ad1f5b6c458d2e6c838867b7319;hpb=3526f64ac57c9f3502f6a56aed4615c2354dc6c3;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index b832f8b..b1e066d 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -12,7 +12,7 @@ use URI::QueryParam; use NEXT; use File::MMagic::XS qw(:compat); -our $VERSION = '2.11'; +our $VERSION = '2.11_pre2'; our $mmagic = File::MMagic::XS->new(); # proposed privacy conventions: @@ -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; }