aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-10-12 13:57:00 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-10-12 13:57:00 +0100
commit2d6757a8032db76859f6cdb5178879b3e9b719cc (patch)
treef9c33a307f375667e37897ebd76f33d644b11228 /perllib/FixMyStreet
parent6133310264e6539a91be9ef8e60ece4839dcb4dd (diff)
Add auto-location to alert page (fixes #23).
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/UK.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm
index 75f6ba061..dfdce641e 100644
--- a/perllib/FixMyStreet/Cobrand/UK.pm
+++ b/perllib/FixMyStreet/Cobrand/UK.pm
@@ -144,7 +144,6 @@ sub find_closest {
my $str = $self->SUPER::find_closest( $latitude, $longitude, $problem );
- # Get nearest postcode from Matthew's random gazetteer (put in MaPit? Or elsewhere?)
my $url = "http://mapit.mysociety.org/nearest/4326/$longitude,$latitude";
my $j = LWP::Simple::get($url);
if ($j) {