changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r23431: LJSUP-14444: Not set Spam Protection ena...

Committer: tnurutdinov
LJSUP-14444: Not set Spam Protection enable for new accounts
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-12-06 11:22:17 UTC (rev 23430)
+++ trunk/cgi-bin/LJ/User.pm	2012-12-06 11:24:52 UTC (rev 23431)
@@ -209,6 +209,7 @@
     $opts{journaltype} = "C";
     my $u = LJ::User->create(%opts) or return;
 
+    $u->set_prop("spamprotection" => 'Y');
     $u->set_prop("nonmember_posting", $opts{nonmember_posting}+0);
     $u->set_prop("moderated", $opts{moderated});
     $u->set_prop("adult_content", $opts{journal_adult_settings}) if LJ::is_enabled("content_flag");

Tags: livejournal, pm, tnurutdinov
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments