aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/GetServiceRequestUpdates.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-03-20 16:05:34 +0000
committerStruan Donald <struan@exo.org.uk>2012-03-20 16:05:34 +0000
commitf683a255911adff592f6bd9e558fd7a9c801d825 (patch)
treed377a355601fffe40c5fbd161481fca90802eaae /perllib/Open311/GetServiceRequestUpdates.pm
parent245e2f4ffd812c67ed4c4298cc1f142f59fe1b97 (diff)
removed unused code
Diffstat (limited to 'perllib/Open311/GetServiceRequestUpdates.pm')
-rw-r--r--perllib/Open311/GetServiceRequestUpdates.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perllib/Open311/GetServiceRequestUpdates.pm b/perllib/Open311/GetServiceRequestUpdates.pm
index c77b30f4f..6865a61f5 100644
--- a/perllib/Open311/GetServiceRequestUpdates.pm
+++ b/perllib/Open311/GetServiceRequestUpdates.pm
@@ -13,11 +13,6 @@ sub update_comments {
my $requests = $open311->get_service_request_updates( );
for my $request (@$requests) {
- # if it's a ref that means it's an empty element
- # however, if there's no updated date then we can't
- # tell if it's newer that what we have so we should skip it
- next if ref $request->{updated_datetime} || ! exists $request->{updated_datetime};
-
my $request_id = $request->{service_request_id};
my $problem =