Committer: vtroitsky
LJSUP-12400: Layout for commercial promo slot on home and ratings pagesU trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm =================================================================== --- trunk/cgi-bin/LJ/Pay/SelfPromo.pm 2012-08-07 14:21:00 UTC (rev 12439) +++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm 2012-08-07 14:59:16 UTC (rev 12440) @@ -773,9 +773,6 @@ my $promos = LJ::Pay::Promotion->find_promotions({ slot => $slot, started_max => time, offset => $offset, limit => $limit, sort => 'started', desc => 'DESC', unique => $args{'unique'} }); $promos = [ reverse (@$promos) ] unless $codirection; - if($args{'force_current'} && $index == 0 && !$promos->[0]->is_active()) { - warn "Force current empty element"; - }; return $promos; }