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

[livejournal] r19133: LJSUP-8867. Only worker (bin/worker/cate...

Committer: gprochaev
LJSUP-8867. Only worker (bin/worker/category-recent-posts) need to resize images

U   trunk/cgi-bin/LJ/Browse/Parser.pm
Modified: trunk/cgi-bin/LJ/Browse/Parser.pm
===================================================================
--- trunk/cgi-bin/LJ/Browse/Parser.pm	2011-05-26 03:39:17 UTC (rev 19132)
+++ trunk/cgi-bin/LJ/Browse/Parser.pm	2011-05-26 03:42:12 UTC (rev 19133)
@@ -84,7 +84,6 @@
                             );
                             $is_new_img = 1;
                         } else {
-                            $images_crop_cnt--;
                             next;
                         }
                     }
@@ -99,7 +98,7 @@
                         $attr->{'src'}, $r->{'url'}, $jitemid, $journalid
                     ) if $is_new_img;
                     next;
-                } elsif ($r && $r->{'status'} ne 'small') {
+                } else {
                     next;
                 }
             }

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