aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/View
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2012-08-15 10:00:30 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-08-16 21:43:46 +0100
commit19b6e00792df6b90bb971051d78f55c7b2d844cd (patch)
tree7ad7000ea9f0504833d6c81281361bb6be3f837f /perllib/FixMyStreet/App/View
parentc4b88147b23e16dff29a6f16851b7be11080ad0b (diff)
Remove unused cobrand function.
Diffstat (limited to 'perllib/FixMyStreet/App/View')
-rw-r--r--perllib/FixMyStreet/App/View/Web.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm
index 092e362f9..eac194dff 100644
--- a/perllib/FixMyStreet/App/View/Web.pm
+++ b/perllib/FixMyStreet/App/View/Web.pm
@@ -83,14 +83,12 @@ sub tprintf {
[% display_crosssell_advert( email, name ) %]
-Displays a crosssell advert if permitted by the cobrand.
+Displays a crosssell advert (will be fixmystreet cobrand only).
=cut
sub display_crosssell_advert {
my ( $self, $c, $email, $name, %data ) = @_;
-
- return unless $c->cobrand->allow_crosssell_adverts();
return CrossSell::display_advert( $c, $email, $name, %data );
}