diff options
author | Dave Whiteland <dave@mysociety.org> | 2013-01-29 01:05:56 +0000 |
---|---|---|
committer | Dave Whiteland <dave@mysociety.org> | 2013-01-29 01:05:56 +0000 |
commit | 542b61a1a22fb6235ffa1067d069fc778eed35e8 (patch) | |
tree | 8c5789e84d5ae6c102060d34e22a7e868b855ad7 /perllib/Open311 | |
parent | 6983201e6d494cca9a7dcccc8ee864fd0d236b7f (diff) |
don't do Open311 service discovery for departments in FixMyBarangay project (yet)
Diffstat (limited to 'perllib/Open311')
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index e8ae56833..9331bb5b2 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -22,6 +22,7 @@ sub process_councils { while ( my $council = $self->council_list->next ) { next unless $council->endpoint; next unless lc($council->send_method) eq 'open311'; + next if $council->jurisdiction =~ /^fixmybarangay_\w+$/; # FMB depts. not using service discovery yet $self->_current_council( $council ); $self->process_council; } @@ -29,7 +30,6 @@ sub process_councils { sub process_council { my $self = shift; - my $open311 = Open311->new( endpoint => $self->_current_council->endpoint, jurisdiction => $self->_current_council->jurisdiction, |