Committer: anazarov
LJSV-2075: S1 style: When user remove himself, all his comments automatically removed in s1 styleU trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm =================================================================== --- trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-03-20 07:20:09 UTC (rev 21465) +++ trunk/cgi-bin/LJ/S2/EntryPage.pm 2012-03-20 08:14:43 UTC (rev 21466) @@ -233,7 +233,7 @@ if ($last_talkid == $dtalkid && $last_jid == $remote->{'userid'}); my $deleted = $com->{'state'} eq 'D'? 1 : 0; - if ( $pu and $pu->{'statusvis'} eq 'D' ) { + if ( $pu and ($pu->{'statusvis'} eq 'D' or $pu->{'statusvis'} eq 'X' or $pu->{'clusterid'} == 0) ) { # LJSV-2075 my ($comments, $community_entries) = split ':', $pu->prop('purge_external_content'); $deleted = 1 if $comments;