aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/View/Web.pm
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2015-01-15 11:33:59 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-02-19 15:17:14 +0000
commit61b0ea8be19a1db68d19508112afbe7a15814f36 (patch)
tree27795d7353ab23769dfc2aaf71571666dcbb440f /perllib/FixMyStreet/App/View/Web.pm
parent654b6be1f7ea6a8ea2d26d82081a4826ec07a027 (diff)
Add new "next steps" to bottom of success pages.
Remove the old CrossSell code. Fixes #972.
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r--perllib/FixMyStreet/App/View/Web.pm16
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 ) %]