diff options
Diffstat (limited to 'perllib/Cobrand.pm')
-rw-r--r-- | perllib/Cobrand.pm | 18 |
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 |