Committer: vad
LJSUP-12416: Do not show 'Recent Comments' widget for identity userU 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;