aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/PopulateServiceList.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-06-17 16:21:19 +0100
committerDave Arter <davea@mysociety.org>2016-06-17 16:21:19 +0100
commit8e96ff0e64a0b5c96912fa25189d7288d5f1d5ca (patch)
treef626aa9facd6b8bcd8d34164af4027bf743531c5 /perllib/Open311/PopulateServiceList.pm
parente23b4976752cfbc2e462c3da65bda8597bb9d4bf (diff)
parent0ab232710d71c3bb3dda884d8a49db2965cb9b8a (diff)
Merge branch 'issues/commercial/766-bristol-cobrand'
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r--perllib/Open311/PopulateServiceList.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm
index b0ffe3806..949e2baa9 100644
--- a/perllib/Open311/PopulateServiceList.pm
+++ b/perllib/Open311/PopulateServiceList.pm
@@ -286,9 +286,10 @@ sub _delete_contacts_not_in_service_list {
}
);
- # for Warwickshire, which is mixed Open311 and email, don't delete the email
- # addresses
- if ($self->_current_body->name eq 'Warwickshire County Council') {
+ # for Warwickshire/Bristol, which are mixed Open311 and email, don't delete
+ # the email addresses
+ if ($self->_current_body->name eq 'Warwickshire County Council' ||
+ $self->_current_body->name eq 'Bristol City Council') {
$found_contacts = $found_contacts->search(
{
email => { -not_like => '%@%' }