Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r15096: ibid

Committer: gariev
ibid

U   trunk/cgi-bin/ljviews.pl
Modified: trunk/cgi-bin/ljviews.pl
===================================================================
--- trunk/cgi-bin/ljviews.pl	2009-04-04 14:52:16 UTC (rev 15095)
+++ trunk/cgi-bin/ljviews.pl	2009-04-04 15:14:00 UTC (rev 15096)
@@ -1348,9 +1348,7 @@
             my $readurl = LJ::Talk::talkargs($permalink, $nc);
 
             my $dispreadlink = $replycount ||
-                ($logprops{$itemid}->{'hasscreened'} &&
-                 ($remote->{'user'} eq $user
-                  || LJ::can_manage($remote, $u)));
+                ($logprops{$itemid}->{'hasscreened'} && LJ::can_manage($remote, $u));
 
             $lastn_event{'talklinks'} = LJ::fill_var_props($vars, 'LASTN_TALK_LINKS', {
                 'itemid' => $ditemid,
@@ -1887,9 +1885,7 @@
             )
         {
             my $dispreadlink = $replycount ||
-                ($logprops{$datakey}->{'hasscreened'} &&
-                 ($remote->{'user'} eq $friend
-                  || LJ::can_manage($remote, $friendid)));
+                ($logprops{$datakey}->{'hasscreened'} && LJ::can_manage($remote, $friendid));
 
             my $nc = "";
             $nc .= "nc=$replycount" if $replycount && $remote && $remote->{'opt_nctalklinks'};
@@ -2559,9 +2555,7 @@
             my $readurl = LJ::Talk::talkargs($permalink, $nc);
 
             my $dispreadlink = $replycount ||
-                ($logprops{$itemid}->{'hasscreened'} &&
-                 ($remote->{'user'} eq $user
-                  || LJ::can_manage($remote, $u)));
+                ($logprops{$itemid}->{'hasscreened'} && LJ::can_manage($remote, $u));
             $day_event{'talklinks'} = LJ::fill_var_props($vars, 'DAY_TALK_LINKS', {
                 'itemid' => $ditemid,
                 'itemargs' => $itemargs,

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