aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Script/Reports.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-01-29 08:28:36 +0000
committerDave Arter <davea@mysociety.org>2018-02-07 17:22:10 +0000
commit01311af63412f39b75ff3b12bb6dc4051eab13b3 (patch)
treef612e211382ed2523e5fe65716722fa30ea9a7b7 /perllib/FixMyStreet/Script/Reports.pm
parentd1f04a07b1eb2f24a065a26320350977a10b400f (diff)
Allow ‘report as another user’ to only provide a phone number
Diffstat (limited to 'perllib/FixMyStreet/Script/Reports.pm')
-rw-r--r--perllib/FixMyStreet/Script/Reports.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/perllib/FixMyStreet/Script/Reports.pm b/perllib/FixMyStreet/Script/Reports.pm
index 7e14fbb1e..d6a614651 100644
--- a/perllib/FixMyStreet/Script/Reports.pm
+++ b/perllib/FixMyStreet/Script/Reports.pm
@@ -106,10 +106,6 @@ sub send(;$) {
$row->user->email eq $cobrand->anonymous_account->{'email'}
) {
$h{anonymous_report} = 1;
- $h{user_details} = _('This report was submitted anonymously');
- } else {
- $h{user_details} = sprintf(_('Name: %s'), $row->name) . "\n\n";
- $h{user_details} .= sprintf(_('Email: %s'), $row->user->email) . "\n\n";
}
$cobrand->call_hook(process_additional_metadata_for_email => $row, \%h);