[dw-nonfree] Move communities/feeds to individual subdomains, not community.*/syndicated.*
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/38b69ed0915b]
http://bugs.dwscoalition.org/show_bug.cgi?id=265
Stop sending syn/comms to subdomains.
Patch by
afuna.
http://bugs.dwscoalition.org/show_bug.cgi?id=265
Stop sending syn/comms to subdomains.
Patch by
--------------------------------------------------------------------------------
diff -r 62b8f32c8706 -r 38b69ed0915b cgi-bin/dw-nonfree.pl
--- a/cgi-bin/dw-nonfree.pl Fri Feb 20 09:47:09 2009 +0000
+++ b/cgi-bin/dw-nonfree.pl Fri Feb 20 10:14:28 2009 +0000
@@ -13,9 +13,8 @@ LJ::register_hook("journal_base", sub {
my $rules = {
'P' => [1, "users.$LJ::DOMAIN"],
- 'S' => [1, "users.$LJ::DOMAIN"],
- 'Y' => [0, "syndicated.$LJ::DOMAIN"],
- 'C' => [0, "community.$LJ::DOMAIN"],
+ 'Y' => [1, "syndicated.$LJ::DOMAIN"],
+ 'C' => [1, "community.$LJ::DOMAIN"],
};
my $rule = $rules->{$u->{journaltype}} || $rules->{'P'};
--------------------------------------------------------------------------------
