alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r11662: OPSC-427: Close "Games" at all

Committer: afedorov
OPSC-427: Close "Games" at all

U   trunk/cgi-bin/LJ/Widget/HomepageEN.pm
Modified: trunk/cgi-bin/LJ/Widget/HomepageEN.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-03-30 14:29:54 UTC (rev 11661)
+++ trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2012-03-30 15:08:03 UTC (rev 11662)
@@ -134,7 +134,7 @@
 
     ## Widget GameList
     $result{widget_gamelist} = LJ::Widget::GameList->render
-        unless $LJ::DISABLED{'userapps'};
+        if LJ::is_enabled('userapps');
 
     ## Widget PromoText
     $result{widget_promotext} = LJ::Widget::PromoText->render( domain => "mini" );

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