aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-29 11:13:07 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-29 11:13:17 +0000
commit006b74e31c9eeac08b017bee88ccca1094e5e976 (patch)
tree89f409adb4530cf92c3e4c8801e34796afdadf21
parent79401667983153582ca0a488f902e6775a543f11 (diff)
Override find_closest to disable it for Zurich.
-rw-r--r--perllib/FixMyStreet/Cobrand/Zurich.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Zurich.pm b/perllib/FixMyStreet/Cobrand/Zurich.pm
index e39966181..eccd43ebb 100644
--- a/perllib/FixMyStreet/Cobrand/Zurich.pm
+++ b/perllib/FixMyStreet/Cobrand/Zurich.pm
@@ -14,6 +14,12 @@ sub pin_colour {
return 'yellow';
}
+# This isn't used
+sub find_closest {
+ my ( $self, $latitude, $longitude, $problem ) = @_;
+ return '';
+}
+
sub enter_postcode_text {
my ( $self ) = @_;
return _('Enter a Z&uuml;rich street name');