vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r22141: LJSUP-12416: Do not show 'Recent Comment...

Committer: vad
LJSUP-12416: Do not show 'Recent Comments' widget for identity user
U   trunk/cgi-bin/LJ/Widget/RecentComments.pm
Modified: trunk/cgi-bin/LJ/Widget/RecentComments.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/RecentComments.pm	2012-05-31 13:34:12 UTC (rev 22140)
+++ trunk/cgi-bin/LJ/Widget/RecentComments.pm	2012-05-31 13:35:47 UTC (rev 22141)
@@ -18,6 +18,7 @@
 
     my $u = $opts{user} && LJ::isu($opts{user}) ? $opts{user} : LJ::get_remote();
     return "" unless $u;
+    return "" if $u->is_identity;
 
     my $limit = defined $opts{limit} ? $opts{limit} : 3;
 

Tags: livejournal, pm, vad, vadvs
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