aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Default.pm11
1 files changed, 1 insertions, 10 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm
index 47bee1e0a..864415b4c 100644
--- a/perllib/FixMyStreet/Cobrand/Default.pm
+++ b/perllib/FixMyStreet/Cobrand/Default.pm
@@ -615,16 +615,7 @@ Return if we are the virtual host that sends email for this cobrand
=cut
sub email_host {
- my $self = shift;
- my $cobrand_moniker_uc = uc( $self->moniker );
-
- my $email_vhost =
- mySociety::Config::get("EMAIL_VHOST_$cobrand_moniker_uc", '')
- || mySociety::Config::get("EMAIL_VHOST")
- || '';
-
- return $email_vhost
- && "http://$email_vhost" eq mySociety::Config::get("BASE_URL");
+ return 1;
}
=item remove_redundant_councils