diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-02-27 10:27:43 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-02-27 10:27:43 +0000 |
commit | 3488e36aab3642149ae09d28adcf17256c2bac0f (patch) | |
tree | 7ac0b0b307fb602a384a90936361b8a0e7ff73fb /perllib/FixMyStreet/Script/Reports.pm | |
parent | 3bc248986218229c7de2d2669c85676ec29f4591 (diff) |
Use `report` more in email templates.
Diffstat (limited to 'perllib/FixMyStreet/Script/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/Script/Reports.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/Script/Reports.pm b/perllib/FixMyStreet/Script/Reports.pm index 8e4a4aec1..be3c4c69a 100644 --- a/perllib/FixMyStreet/Script/Reports.pm +++ b/perllib/FixMyStreet/Script/Reports.pm @@ -178,16 +178,8 @@ sub send(;$) { if ($h{category} eq _('Other')) { $h{category_footer} = _('this type of local problem'); - $h{category_line} = ''; } else { $h{category_footer} = "'" . $h{category} . "'"; - $h{category_line} = sprintf(_("Category: %s"), $h{category}) . "\n\n"; - } - - if ( $row->subcategory ) { - $h{subcategory_line} = sprintf(_("Subcategory: %s"), $row->subcategory) . "\n\n"; - } else { - $h{subcategory_line} = "\n\n"; } $h{bodies_name} = join(_(' and '), @dear); |