diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-06 15:42:29 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-06 15:42:29 +0100 |
commit | 967c99a4c5d54d5b8dff0d502115511350c7a87c (patch) | |
tree | ee9c69780d5606f9e263e01b96cbb0b828008566 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | 222727d7e879838e5c47cf0eb07e739c7969fdae (diff) |
Remove unused base_url_for_emails function.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 3c6d6b273..e08e3c514 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -65,31 +65,13 @@ sub restriction { return $self->moniker ? { cobrand => $self->moniker } : {}; } -=head2 base_url_for_emails - -Return the base url to use in links in emails for the cobranded version of the -site, parameter is extra data. - -=cut - -sub base_url_for_emails { - my $self = shift; - return $self->base_url; -} - =head2 base_url_with_lang =cut sub base_url_with_lang { my $self = shift; - my $email = shift; - - if ($email) { - return $self->base_url_for_emails; - } else { - return $self->base_url; - } + return $self->base_url; } =head2 admin_base_url |