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

[ljcom] r11778: LJSUP-11639: Add disable flag 'commercia...

Committer: wisest-owl
LJSUP-11639: Add disable flag 'commercial_promo'

U   trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm	2012-04-24 13:02:38 UTC (rev 11777)
+++ trunk/cgi-bin/LJ/Widget/Shop/LeftMenu.pm	2012-04-24 13:16:16 UTC (rev 11778)
@@ -62,7 +62,7 @@
             name => LJ::Lang::ml('/shop/index.bml.storefront.commpromo'),
             url => '/shop/commpromo.bml',
             is_selected => $subpage eq 'commpromo' ? 1 : 0,
-        };
+        } unless $LJ::DISABLED{'commercial_promo'};
     }
 
     my %top_map = (

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