diff options
author | louise <louise> | 2009-08-31 09:48:55 +0000 |
---|---|---|
committer | louise <louise> | 2009-08-31 09:48:55 +0000 |
commit | f62012b5445f911835caa6a6fd3a190f9a6a7232 (patch) | |
tree | b054ec453f717b18dc4b6902ef9af1a7d74cee8d /t/Cobrands/Mysite/Util.pm | |
parent | ce1a46122ec3298eaf543b68b3ee6bfb0c1c3b14 (diff) |
Methods for allowing cobrands to handle site restrictions
Diffstat (limited to 't/Cobrands/Mysite/Util.pm')
-rw-r--r-- | t/Cobrands/Mysite/Util.pm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/t/Cobrands/Mysite/Util.pm b/t/Cobrands/Mysite/Util.pm index b37d3cdf3..42b920f91 100644 --- a/t/Cobrands/Mysite/Util.pm +++ b/t/Cobrands/Mysite/Util.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: Util.pm,v 1.1 2009-08-27 08:42:46 louise Exp $ +# $Id: Util.pm,v 1.2 2009-08-31 09:49:59 louise Exp $ package Cobrands::Mysite::Util; use Page; @@ -20,6 +20,14 @@ sub new{ return bless {}, $class; } +sub site_name{ + return 'mysite'; +} + +sub site_restriction{ + return (' and council = 1 ', 99); +} + sub page{ my %params = (); return ("A cobrand produced page", %params); |