aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311.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/Open311.pm
parent222727d7e879838e5c47cf0eb07e739c7969fdae (diff)
Remove unused base_url_for_emails function.
Diffstat (limited to 'perllib/Open311.pm')
-rw-r--r--perllib/Open311.pm2
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;
}