]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
removed reporting of normality.
[maypole.git] / lib / Maypole.pm
index b5da323ee9e544421e10a8525916d709a8b0f188..5fd048eb354f5b891cc5bd6d87edfffff9925998 100644 (file)
@@ -62,7 +62,6 @@ sub handler {
     my $r = bless { config => $class->config }, $class;
     $r->get_request($req);
     $r->parse_location();
-    warn "Request path: $r->{path}" if $r->debug;
     my $status = $r->handler_guts();
     return $status unless $status == OK;
     $r->send_output;
@@ -134,7 +133,8 @@ sub is_applicable {
       . "Available tables are: "
       . join( ",", @{ $config->{display_tables} } )
       if $self->debug
-      and not $config->ok_tables->{ $self->{table} };
+      and not $config->ok_tables->{ $self->{table} }
+      and $self->{action};
     return DECLINED() unless exists $config->ok_tables->{ $self->{table} };
 
     # Is it public?