aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Page.pm
diff options
context:
space:
mode:
authorlouise <louise>2009-08-31 12:22:54 +0000
committerlouise <louise>2009-08-31 12:22:54 +0000
commite0425afc6465dd2f27b06d0ca8574bfc1931ca70 (patch)
tree72e39922b5c4fb0d8f6772c58a36ef2ef66e9fe8 /perllib/Page.pm
parentd238919b60c0b32484420df1b7793735f89b7fa4 (diff)
Delete site_restriction to cobrands
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r--perllib/Page.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index d92d80825..10ba6f084 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Page.pm,v 1.164 2009-08-27 19:38:15 louise Exp $
+# $Id: Page.pm,v 1.165 2009-08-31 12:22:54 louise Exp $
#
package Page;
@@ -117,9 +117,7 @@ sub microsite {
mySociety::Locale::change();
}
- if ($q->{site} eq 'scambs') {
- Problems::set_site_restriction('scambs');
- }
+ Problems::set_site_restriction($q);
Memcached::set_namespace(mySociety::Config::get('BCI_DB_NAME') . ":");
}