diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-02-20 11:24:32 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-02-20 11:24:32 +0000 |
commit | 834d18012ab64e340d06f539fee17d34e0cf7675 (patch) | |
tree | 6478756405efd2a2c04b3bc9d490d396c9112d0f /perllib/FixMyStreet/App/View/Web.pm | |
parent | 7b227dea1532f3e68c369d8447611349e8cb44b6 (diff) | |
parent | 25d518e794b7d95525edaa9357adec48a4172c24 (diff) |
Merge branch '972-completion-adverts'
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index 033ad583f..da549ece8 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -7,7 +7,6 @@ use warnings; use mySociety::Locale; use mySociety::Web qw(ent); use FixMyStreet; -use CrossSell; use Utils; __PACKAGE__->config( @@ -18,7 +17,7 @@ __PACKAGE__->config( ENCODING => 'utf8', render_die => 1, expose_methods => [ - 'loc', 'nget', 'tprintf', 'display_crosssell_advert', 'prettify_dt', + 'loc', 'nget', 'tprintf', 'prettify_dt', 'add_links', 'version', 'decode', ], FILTERS => { @@ -79,19 +78,6 @@ sub tprintf { return sprintf $format, @args; } -=head2 display_crosssell_advert - - [% display_crosssell_advert( email, name ) %] - -Displays a crosssell advert (will be fixmystreet cobrand only). - -=cut - -sub display_crosssell_advert { - my ( $self, $c, $email, $name, %data ) = @_; - return CrossSell::display_advert( $c, $email, $name, %data ); -} - =head2 Utils::prettify_dt [% pretty = prettify_dt( $dt, $short_bool ) %] |