aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-05-25 17:24:12 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-05-25 17:24:12 +0100
commit8df7ff6f68edeb92e4aa8b99c0f63a1ed6487b75 (patch)
tree27c050e809f2d8519a55583509d22acb1c8b9dd8 /perllib/FixMyStreet.pm
parent4ca6f431262c059ca1bb7cfe1e6188d363ca5a89 (diff)
parentf92fa912ef079d28c1392c10ede73c0b072573c1 (diff)
Merge branch '1410-email-template'
Diffstat (limited to 'perllib/FixMyStreet.pm')
-rw-r--r--perllib/FixMyStreet.pm17
1 files changed, 0 insertions, 17 deletions
diff --git a/perllib/FixMyStreet.pm b/perllib/FixMyStreet.pm
index 1a9c8ff60..14f3f3607 100644
--- a/perllib/FixMyStreet.pm
+++ b/perllib/FixMyStreet.pm
@@ -190,23 +190,6 @@ sub configure_mysociety_dbhandle {
}
-=head2 get_email_template
-
-=cut
-
-sub get_email_template {
- # TODO further refactor this by just using Template path
- my ($class, $cobrand, $lang, $template) = @_;
-
- my $template_path = FixMyStreet->path_to( "templates", "email", $cobrand, $lang, $template )->stringify;
- $template_path = FixMyStreet->path_to( "templates", "email", $cobrand, $template )->stringify
- unless -e $template_path;
- $template_path = FixMyStreet->path_to( "templates", "email", "default", $template )->stringify
- unless -e $template_path;
- $template = Utils::read_file( $template_path );
- return $template;
-}
-
my $tz;
my $tz_f;