ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r17615: LJSV-1030: Suspended entries shouldn't b...

Committer: ssafronova
LJSV-1030: Suspended entries shouldn't be considered when displaying recent entries
U   trunk/bin/worker/mark-suspended-entries
Modified: trunk/bin/worker/mark-suspended-entries
===================================================================
--- trunk/bin/worker/mark-suspended-entries	2010-10-26 08:56:34 UTC (rev 17614)
+++ trunk/bin/worker/mark-suspended-entries	2010-10-26 10:11:18 UTC (rev 17615)
@@ -21,7 +21,7 @@
 
     foreach my $cid (@LJ::CLUSTERS) {
         my $dbh = LJ::get_cluster_master($cid);
-        return unless $dbh;
+        next unless $dbh;
 
         $dbh->do("UPDATE log2 SET compressed='S' WHERE posterid=?", undef, $userid);
     }
@@ -39,7 +39,7 @@
 
     foreach my $cid (@LJ::CLUSTERS) {
         my $dbh = LJ::get_cluster_master($cid);
-        return unless $dbh;
+        next unless $dbh;
 
         $dbh->do("UPDATE log2 SET compressed='N' WHERE posterid=?", undef, $userid);
     }

Tags: livejournal, ssafronova
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