Require login to use community search.
Patch by jportela.
diffs (12 lines):
diff -r 108599c7bc5f -r 4875a1fd6eb9 htdocs/community/search.bml
--- a/htdocs/community/search.bml Sun Apr 18 21:48:12 2010 +0000
+++ b/htdocs/community/search.bml Mon Apr 19 10:50:02 2010 -0500
@@ -40,7 +40,7 @@ body<=
<?_code
{
- my $remote = LJ::get_remote();
+ my $remote = LJ::get_remote() or return "<?needlogin?>";
if (LJ::Hooks::are_hooks("cprod_redirect_user")) {
return LJ::Hooks::run_hook("cprod_redirect_user", $remote);
}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog