wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r18330: LJSUP-7934. Supernaintainer: update the ...

Committer: gprochaev
LJSUP-7934. Supernaintainer: update the script

U   trunk/cgi-bin/ljmail.pl
Modified: trunk/cgi-bin/ljmail.pl
===================================================================
--- trunk/cgi-bin/ljmail.pl	2011-02-16 11:17:29 UTC (rev 18329)
+++ trunk/cgi-bin/ljmail.pl	2011-02-16 11:17:51 UTC (rev 18330)
@@ -196,7 +196,7 @@
     ##  Workers send emails too and exactly in this case 
     ##  we spend worker's time to try to send email directly from this process.
     ##  This approach intended to reduce TheSchwartz workload.
-    unless (LJ::is_web_context()){
+    unless ($opt->{'force_schwartz'} && LJ::is_web_context()){
         foreach my $rcpt (@rcpts){
             my $res = LJ::DoSendEmail->send($rcpt, {
                         from    => $from,         ## Envelope From

Tags: livejournal, pl, wisest-owl
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