aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-12-22 11:17:26 +0000
committermatthew <matthew>2009-12-22 11:17:26 +0000
commite76b5413ff4768da9cafa892fec16a1d09015289 (patch)
tree73556d34d6a9fc835a5d507fd7fd153c9cb847c8
parent8e99f63cb78ef9b8f19972607f7bbc0ff8995127 (diff)
Site restriction for Barnet.
-rw-r--r--perllib/Cobrands/Barnet/Util.pm11
-rw-r--r--perllib/Cobrands/Emptyhomes/Util.pm11
2 files changed, 11 insertions, 11 deletions
diff --git a/perllib/Cobrands/Barnet/Util.pm b/perllib/Cobrands/Barnet/Util.pm
index a518543a2..dbf04b992 100644
--- a/perllib/Cobrands/Barnet/Util.pm
+++ b/perllib/Cobrands/Barnet/Util.pm
@@ -7,7 +7,7 @@
# Copyright (c) 2009 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: Util.pm,v 1.3 2009-12-22 11:02:47 matthew Exp $
+# $Id: Util.pm,v 1.4 2009-12-22 11:17:26 matthew Exp $
package Cobrands::Barnet::Util;
use Standard;
@@ -20,6 +20,15 @@ sub new {
return bless {}, $class;
}
+=item site_restriction Q
+
+Return a site restriction clause and a site key.
+
+=cut
+sub site_restriction{
+ return ('and council=2489', 'barnet');
+}
+
=item
Return the base url for this cobranded site
diff --git a/perllib/Cobrands/Emptyhomes/Util.pm b/perllib/Cobrands/Emptyhomes/Util.pm
index 9d9b92903..bc41c66ef 100644
--- a/perllib/Cobrands/Emptyhomes/Util.pm
+++ b/perllib/Cobrands/Emptyhomes/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.7 2009-12-15 14:55:53 louise Exp $
+# $Id: Util.pm,v 1.8 2009-12-22 11:17:26 matthew Exp $
package Cobrands::Emptyhomes::Util;
use Standard;
@@ -20,15 +20,6 @@ sub new{
return bless {}, $class;
}
-=item site_restriction Q
-
-Return a site restriction clause and a site key.
-
-=cut
-sub site_restriction{
- return ('', 0);
-}
-
=item
Return the base url for this cobranded site