aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Bromley.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-01-02 12:52:26 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-01-02 12:52:30 +0000
commit16e4d3b007585a1084455b09e9ad6d7048eb5c2a (patch)
treed770d106a55847df80a6bcf70293bb9c26f13a4e /perllib/FixMyStreet/Cobrand/Bromley.pm
parent2db12c53190fb29666a5cf49514c0f0422ebbbfe (diff)
Add do-not-reply config variable, removing special case from code.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Bromley.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bromley.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bromley.pm b/perllib/FixMyStreet/Cobrand/Bromley.pm
index a4c4f4ffc..0d4894aa8 100644
--- a/perllib/FixMyStreet/Cobrand/Bromley.pm
+++ b/perllib/FixMyStreet/Cobrand/Bromley.pm
@@ -80,9 +80,7 @@ sub process_extras {
sub contact_email {
my $self = shift;
- my $type = shift || '';
- return join( '@', 'info', 'bromley.gov.uk' ) if $type eq 'contact';
- return $self->next::method();
+ return join( '@', 'info', 'bromley.gov.uk' );
}
sub contact_name { 'Bromley Council (do not reply)'; }