diff options
Diffstat (limited to 'perllib/Cobrand.pm')
-rw-r--r-- | perllib/Cobrand.pm | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/perllib/Cobrand.pm b/perllib/Cobrand.pm index d7a9d0e96..1541f97f4 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.51 2009-12-15 14:47:40 louise Exp $ +# $Id: Cobrand.pm,v 1.52 2009-12-15 14:55:52 louise Exp $ package Cobrand; use strict; @@ -47,20 +47,6 @@ sub cobrand_handle { return $handles{$cobrand}; } - -=item cobrand_page QUERY - -Return a string containing the HTML to be rendered for a custom Cobranded page - -=cut -sub cobrand_page { - my $q = shift; - my $cobrand = $q->{site}; - my $handle = cobrand_handle($cobrand); - return 0 unless $handle; - return $handle->page($q); -} - =item site_restriction COBRAND COBRAND_DATA Return a site restriction clause and a site key if the cobrand uses a subset of the FixMyStreet |