sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[ljcom] r12440: LJSUP-12400: Layout for commercial promo...

Committer: vtroitsky
LJSUP-12400: Layout for commercial promo slot on home and ratings pages
U   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;
 }
 

Tags: ljcom, pm, sunnyman, vtroitsky
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