aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Contact.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-06 15:42:29 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-06 15:42:29 +0100
commit967c99a4c5d54d5b8dff0d502115511350c7a87c (patch)
treeee9c69780d5606f9e263e01b96cbb0b828008566 /perllib/FixMyStreet/App/Controller/Contact.pm
parent222727d7e879838e5c47cf0eb07e739c7969fdae (diff)
Remove unused base_url_for_emails function.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Contact.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Contact.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Contact.pm b/perllib/FixMyStreet/App/Controller/Contact.pm
index c300aee9a..8b98f57c9 100644
--- a/perllib/FixMyStreet/App/Controller/Contact.pm
+++ b/perllib/FixMyStreet/App/Controller/Contact.pm
@@ -139,7 +139,7 @@ sub prepare_params_for_email : Private {
$c->stash->{message} =~ s/\r\n/\n/g;
$c->stash->{subject} =~ s/\r|\n/ /g;
- my $base_url = $c->cobrand->base_url_for_emails( $c->cobrand->extra_data );
+ my $base_url = $c->cobrand->base_url( $c->cobrand->extra_data );
my $admin_url = $c->cobrand->admin_base_url;
if ( $c->stash->{update} ) {