aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/UK.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-03-16 16:24:34 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-03-16 19:10:16 +0000
commit72e7c2ac4b6a644ee2bb002915122648d97c56e0 (patch)
tree6cc0ff6e8386d0aa53ac6bcfcdca8f4ae1dfa2ac /perllib/FixMyStreet/Cobrand/UK.pm
parentd0a16157fbd10f8bdf1a07c77331504c61bf7f5d (diff)
[fixmystreet.com] Remove special NI code.
This is now handled by normal bodies in the admin. In order to remove references in send_reports, tidy up (unused) EmptyHomes code a bit.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/UK.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/UK.pm9
1 files changed, 0 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UK.pm b/perllib/FixMyStreet/Cobrand/UK.pm
index 33d3b4253..cd64de9c6 100644
--- a/perllib/FixMyStreet/Cobrand/UK.pm
+++ b/perllib/FixMyStreet/Cobrand/UK.pm
@@ -26,15 +26,6 @@ sub disambiguate_location {
};
}
-sub _fallback_body_sender {
- my ( $self, $body, $category ) = @_;
-
- my $first_area = $body->body_areas->first->area_id;
- my $area_info = mySociety::MaPit::call('area', $first_area);
- return { method => 'NI' } if $area_info->{type} eq 'LGD';
- return { method => 'Email' };
-}
-
sub process_extras {
my $self = shift;
my $ctx = shift;