diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-02 18:45:26 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-02 18:45:26 +0100 |
commit | c848e3bfba1ec644805c0e8b0a24c3a968d7ec3b (patch) | |
tree | 25e4b77f5b0ff3ccdce1896b30c619f3d3e0b1a6 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | 040e507c4e0be26c777ca21c06f1cb45c17749f3 (diff) | |
parent | 53455ab83400aeeae9341cd720eef9fae53af221 (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 4c7d7438a..1f1086c21 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -90,20 +90,6 @@ sub path_to_web_templates { return FixMyStreet->path_to( 'templates/web', $self->moniker ); } -=head2 path_to_email_templates - - $path = $cobrand->path_to_email_templates( ); - -Returns the path to the templates for this cobrand - by default -"templates/email/$moniker" - -=cut - -sub path_to_email_templates { - my $self = shift; - return FixMyStreet->path_to( 'templates/email', $self->moniker ); -} - =head1 site_restriction Return a site restriction clause and a site key if the cobrand uses a subset of @@ -625,7 +611,7 @@ sub email_host { my $cobrand_moniker_uc = uc( $self->moniker ); my $email_vhost = - mySociety::Config::get("EMAIL_VHOST_$cobrand_moniker_uc") + mySociety::Config::get("EMAIL_VHOST_$cobrand_moniker_uc", '') || mySociety::Config::get("EMAIL_VHOST") || ''; |