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/Open311.pm | |
parent | 222727d7e879838e5c47cf0eb07e739c7969fdae (diff) |
Remove unused base_url_for_emails function.
Diffstat (limited to 'perllib/Open311.pm')
-rw-r--r-- | perllib/Open311.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm index fd6a67706..e29971612 100644 --- a/perllib/Open311.pm +++ b/perllib/Open311.pm @@ -280,7 +280,7 @@ sub _populate_service_request_update_params { if ( $comment->photo ) { my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($comment->cobrand)->new(); - my $email_base_url = $cobrand->base_url_for_emails($comment->cobrand_data); + my $email_base_url = $cobrand->base_url($comment->cobrand_data); my $url = $email_base_url . '/photo/c/' . $comment->id . '.full.jpeg'; $params->{media_url} = $url; } |