журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22330: LJSUP-12689: Do not show external applic...

Committer: nnikulochkina
LJSUP-12689: Do not show external applications in user profile
U   trunk/htdocs/userinfo.bml
Modified: trunk/htdocs/userinfo.bml
===================================================================
--- trunk/htdocs/userinfo.bml	2012-06-26 07:44:48 UTC (rev 22329)
+++ trunk/htdocs/userinfo.bml	2012-06-26 08:55:10 UTC (rev 22330)
@@ -1653,7 +1653,7 @@
 
         foreach (sort keys %$apps_list) {
             my $app = LJ::UserApps->get_application( id => $_ );
-            next unless $app && $app->can_show_restricted;
+            next unless $app && $app->can_show_restricted && $app->{type} ne 'E'; 
             my $app_img;
             if ($app->icon) {
                 $app_img = '<img src='.$app->icon.' width="16" height="16" alt="' . $app->name . '" /> ';

Tags: bml, livejournal, nikulochkina, nnikulochkina
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