diff options
author | Marius Halden <marius.h@lden.org> | 2015-10-27 13:27:03 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-10-27 13:27:03 +0100 |
commit | 4fb5331abd2fa4c89ebeb89bc92a245fadd0aa19 (patch) | |
tree | 23632b448612e3845a6e8b1aed6490151395de2a /perllib/Utils.pm | |
parent | e609613b5041a15491417eaa9ae129dd1e7531dd (diff) | |
parent | ac39951581a0eefe069c8a707bb89977227d0bce (diff) |
Merge tag 'v1.7' into fiksgatami-dev
Diffstat (limited to 'perllib/Utils.pm')
-rw-r--r-- | perllib/Utils.pm | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/perllib/Utils.pm b/perllib/Utils.pm index 21a7311f2..87c1a10d6 100644 --- a/perllib/Utils.pm +++ b/perllib/Utils.pm @@ -91,37 +91,6 @@ sub truncate_coordinate { return $out; } -sub barnet_categories { - # The values here are KBIDs from Barnet's system: see bin/send-reports for formatting. - # They are no longer used since Barnet switched to email for delivery of problem reports. - # and can be removed when SendReport/Barnet.pm is removed. - if (mySociety::Config::get('STAGING_SITE')) { # note staging site must use different KBIDs - return { - 'Street scene misc' => 14 # for test - } - } else { - return { - 'Accumulated Litter' => 349, - 'Dog Bin' => 203, - 'Dog Fouling' => 288, - 'Drain or Gully' => 256, - 'Fly Posting' => 465, - 'Fly Tipping' => 449, - 'Graffiti' => 292, - 'Gritting' => 200, - 'Highways' => 186, - 'Litter Bin Overflowing' => 205, - 'Manhole Cover' => 417, - 'Overhanging Foliage' => 421, - 'Pavement Damaged/Cracked' => 195, - 'Pothole' => 204, - 'Road Sign' => 80, - 'Roadworks' => 246, - 'Street Lighting' => 251, - }; - } -} - =head2 trim_text my $text = trim_text( $text_to_trim ); |