holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r12913: LJRU-3328: on lj.ru displays comments fr...

Committer: akanashin
LJRU-3328: on lj.ru displays comments from suspended users
U   trunk/cgi-bin/LJ/PartnerSite.pm
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2012-11-16 13:42:02 UTC (rev 12912)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2012-11-19 07:24:12 UTC (rev 12913)
@@ -770,6 +770,11 @@
             };
         }
 
+        if ($poster && $poster->is_suspended) {
+            $text    = LJ::Lang::ml('talk.suspendedpost');
+            $subject = '';
+        }
+
         push @ret, {
             'comment_id' => $dtalkid,
             'parent_id'  => $parentid,

Tags: akanashin, holyandrew, ljcom, 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