aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-09-30 10:50:58 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-09-30 10:50:58 +0100
commit7a794f6478768afdb41b20ec47fc0657aec52f89 (patch)
treea7c3470321c979280b9e7c6b54bb55b2bd09b5e7
parent84153e6dfe6e40c38f3df2bfb6ad5a72ca4269a1 (diff)
Don't need this check (plus it called the wrong function).
-rw-r--r--perllib/FixMyStreet/Cobrand/UKCouncils.pm5
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();