Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r21466: LJSV-2075: S1 style: When user remove hi...

Committer: anazarov
LJSV-2075: S1 style: When user remove himself, all his comments automatically removed in s1 style
U   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;

Tags: anazarov, livejournal, nfokz, pm
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