aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App.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.pm
parent222727d7e879838e5c47cf0eb07e739c7969fdae (diff)
Remove unused base_url_for_emails function.
Diffstat (limited to 'perllib/FixMyStreet/App.pm')
-rw-r--r--perllib/FixMyStreet/App.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App.pm b/perllib/FixMyStreet/App.pm
index 2f199f4bf..9553aafa2 100644
--- a/perllib/FixMyStreet/App.pm
+++ b/perllib/FixMyStreet/App.pm
@@ -387,11 +387,10 @@ and uses that.
=cut
sub uri_for_email {
- my $c = shift;
- my @args = @_;
+ my $c = shift;
my $normal_uri = $c->uri_for(@_)->absolute;
- my $base = $c->cobrand->base_url_with_lang( 1 );
+ my $base = $c->cobrand->base_url_with_lang;
my $email_uri = $base . $normal_uri->path_query;