aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Cobrand.pm
diff options
context:
space:
mode:
authormatthew <matthew>2009-11-04 15:16:58 +0000
committermatthew <matthew>2009-11-04 15:16:58 +0000
commitc2bf72b2eeda3a6fb1cf77fb9aedbdf424914dfd (patch)
tree65780cec6bc637383ebd9c5ae3b6305b97f68b6b /perllib/Cobrand.pm
parenta9497797dfff93014f73292534297494dcf5f634 (diff)
Remove unneeded front_page hook, can call template code directly.
Template possibility for check email step.
Diffstat (limited to 'perllib/Cobrand.pm')
-rw-r--r--perllib/Cobrand.pm18
1 files changed, 1 insertions, 17 deletions
diff --git a/perllib/Cobrand.pm b/perllib/Cobrand.pm
index 9733e99ea..917e12a1e 100644
--- a/perllib/Cobrand.pm
+++ b/perllib/Cobrand.pm
@@ -7,7 +7,7 @@
# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.
# Email: louise@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: Cobrand.pm,v 1.34 2009-10-29 17:55:23 matthew Exp $
+# $Id: Cobrand.pm,v 1.35 2009-11-04 15:16:58 matthew Exp $
package Cobrand;
use strict;
@@ -201,22 +201,6 @@ sub recent {
}
}
-=item front_page
-
-Return a front page of the site
-
-=cut
-
-sub front_page {
- my ($cobrand, $q, %vars) = @_;
- my $handle = $cobrand ? cobrand_handle($cobrand) : undef;
- if ( !$cobrand || !$handle || ! $handle->can('front_page')){
- return '';
- } else {
- return $handle->front_page($q, %vars);
- }
-}
-
=item front_stats
Return a block of html for showing front stats for the site