alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[livejournal] r18506: LJSUP-7957: Move "Spam comments" before ...

Committer: afedorov
LJSUP-7957: Move "Spam comments" before "Leave a comment"

U   trunk/cgi-bin/LJ/S2/EntryPage.pm
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2011-03-11 02:41:05 UTC (rev 18505)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2011-03-11 03:08:09 UTC (rev 18506)
@@ -493,7 +493,7 @@
 
     my $comments = CommentInfo({
         'read_url' => $readurl,
-        'read_spam_url' => $readspamurl,
+        'read_spam_url' => LJ::Talk::can_mark_spam($remote, $u, $pu) ? $readspamurl : '',
         'spam_counter' => $entry->prop('spam_counter') || 0,
         'post_url' => $posturl,
         'count' => $replycount,

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