diff options
-rw-r--r-- | perllib/FixMyStreet/Cobrand/UKCouncils.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UKCouncils.pm b/perllib/FixMyStreet/Cobrand/UKCouncils.pm index 5531ed048..2c18d4e22 100644 --- a/perllib/FixMyStreet/Cobrand/UKCouncils.pm +++ b/perllib/FixMyStreet/Cobrand/UKCouncils.pm @@ -84,10 +84,7 @@ sub all_reports_single_body { sub reports_body_check { my ( $self, $c, $code ) = @_; - # First, the normal UK checks - $self->SUPER::find_closest( $c, $code ); - - # Now we want to make sure we're only on our page. + # We want to make sure we're only on our page. unless ( $self->council_name =~ /^\Q$code\E/ ) { $c->res->redirect( 'http://www.fixmystreet.com' . $c->req->uri->path_query, 301 ); $c->detach(); |