aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Hounslow.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Hounslow.pm b/perllib/FixMyStreet/Cobrand/Hounslow.pm
index f54b3ae3a..04533ce80 100644
--- a/perllib/FixMyStreet/Cobrand/Hounslow.pm
+++ b/perllib/FixMyStreet/Cobrand/Hounslow.pm
@@ -16,6 +16,11 @@ sub base_url {
return 'https://fms.hounslowhighways.org';
}
+sub enter_postcode_text {
+ my ($self) = @_;
+ return "Enter a Hounslow street name and area, or postcode";
+}
+
sub disambiguate_location {
my $self = shift;
my $string = shift;
@@ -66,5 +71,13 @@ sub open311_config {
$row->set_extra_fields(@$extra);
}
+sub should_skip_sending_update {
+ my ($self, $update ) = @_;
+
+ # Hounslow don't want to receive updates into Confirm that were made by
+ # anyone except the original problem reporter.
+ return $update->user_id != $update->problem->user_id;
+}
+
1;