aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/Email.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-04-01 08:06:51 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-04-01 08:06:52 +0100
commita978974b5770ebc173d302034cbe179a45cb40d5 (patch)
tree10c9e1721c9d8e8bd15c0ca6b5d8b56752e4d437 /perllib/FixMyStreet/SendReport/Email.pm
parent83bb5ff481d87e4cc4a713d69e3765d2d2c16392 (diff)
Make sure MapIt generation always used if given.
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Email.pm')
-rw-r--r--perllib/FixMyStreet/SendReport/Email.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/SendReport/Email.pm b/perllib/FixMyStreet/SendReport/Email.pm
index 1b484aefe..ae1243fdb 100644
--- a/perllib/FixMyStreet/SendReport/Email.pm
+++ b/perllib/FixMyStreet/SendReport/Email.pm
@@ -111,12 +111,4 @@ sub send {
return $result;
}
-sub _get_district_for_contact {
- my ( $lat, $lon ) = @_;
- my $district =
- mySociety::MaPit::call( 'point', "4326/$lon,$lat", type => 'DIS' );
- ($district) = keys %$district;
- return $district;
-}
-
1;