Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r11979: LJSUP-12255 (drop typepad antispam suppo...

Committer: ailyin
LJSUP-12255 (drop typepad antispam support)
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2012-05-18 13:12:38 UTC (rev 11978)
+++ trunk/cgi-bin/ljcom.pl	2012-05-21 07:29:40 UTC (rev 11979)
@@ -1109,19 +1109,6 @@
             'jitemid'   => $arg->{'itemid'},
             'ip'        => LJ::get_remote_ip(),
         });
-
-        # Test a sample of posts
-        my $rand = int(rand(100)) + 1;
-        push @$joblist, TheSchwartz::Job->new_from_array("LJ::Worker::AntiSpam", {
-            'timepost' => time(),
-            'itemid' => $arg->{'itemid'},
-            'type' => 'E',
-            'posterid' => $up->{'userid'},
-            'journalid' => $uo->{'userid'},
-            'remote_ip' => LJ::get_remote_ip(),
-            'remote_ua' => LJ::is_web_context() ? LJ::Request->instance->header_in('User-Agent') : undef,
-            'remote_uniq' => LJ::UniqCookie->current_uniq,
-        }) if ($rand <= $LJ::POST_SAMPLE && !$LJ::DISABLED{'tp_antispam_test'});
     }
 });
 

Tags: ailyin, andy, ljcom, pl
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