aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-06-21 13:54:47 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-06-21 14:08:16 +0100
commit65b6b5eba895444aa2fc39f323ddac43bb608ba9 (patch)
treebcd0ce139ae9308ad42dd18e1274a43b00a46e5b
parent929c73d4a670444eec2419f208cd138d3ea01ce3 (diff)
Unneeded code, as is ignored, and same thing happens in Open311.pm anyway.
-rw-r--r--perllib/FixMyStreet/SendReport/Open311.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/SendReport/Open311.pm b/perllib/FixMyStreet/SendReport/Open311.pm
index 52268fd91..9bb33b9ef 100644
--- a/perllib/FixMyStreet/SendReport/Open311.pm
+++ b/perllib/FixMyStreet/SendReport/Open311.pm
@@ -54,14 +54,6 @@ sub send {
$always_send_latlong = 0;
$send_notpinpointed = 1;
-
- # make sure we have first_name and last_name attributes
- if ( $row->cobrand ne 'bromley' ) {
- my ( $firstname, $lastname ) = ( $row->user->name =~ /(\w+)\s+(.+)/ );
- push @$extra, { name => 'first_name', value => $firstname };
- push @$extra, { name => 'last_name', value => $lastname };
- }
-
$basic_desc = 1;
}