aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/Open311.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-04-22 13:49:47 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-04-22 13:49:47 +0100
commitc923ee706a122863b2c9db94bf09dfe235b4fd4d (patch)
tree2e2fefa4684e3ecae329e0533e567fb6a09872f5 /perllib/FixMyStreet/SendReport/Open311.pm
parentc9d7be8f8994ca51685c71bd7490ef42822d41b3 (diff)
parent66eb844d7eaba7155e362dcec8a7a7db8f3dbf4c (diff)
Merge branch '1383-remove-dead-projects'
Diffstat (limited to 'perllib/FixMyStreet/SendReport/Open311.pm')
-rw-r--r--perllib/FixMyStreet/SendReport/Open311.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/SendReport/Open311.pm b/perllib/FixMyStreet/SendReport/Open311.pm
index 4844aa2e9..5c7fa30f3 100644
--- a/perllib/FixMyStreet/SendReport/Open311.pm
+++ b/perllib/FixMyStreet/SendReport/Open311.pm
@@ -126,8 +126,8 @@ sub send {
$revert = 1;
}
- if ($row->cobrand eq 'fixmybarangay' || $row->bodies_str =~ /$COUNCIL_ID_GREENWICH/) {
- # FixMyBarangay endpoints expect external_id as an attribute, as do Greenwich
+ if ($row->bodies_str =~ /$COUNCIL_ID_GREENWICH/) {
+ # Greenwich endpoint expects external_id as an attribute
$row->set_extra_fields( { 'name' => 'external_id', 'value' => $row->id } );
$revert = 1;
}