Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17232: LJSV-1181 (Facebook user with validated ...

Committer: ailyin
LJSV-1181 (Facebook user with validated email can't delete comments): remove DaMaS from the popup, server part
U   trunk/cgi-bin/LJ/S2/EntryPage.pm
U   trunk/htdocs/talkread.bml
Modified: trunk/cgi-bin/LJ/S2/EntryPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-08-31 01:12:23 UTC (rev 17231)
+++ trunk/cgi-bin/LJ/S2/EntryPage.pm	2010-08-31 02:55:16 UTC (rev 17232)
@@ -311,6 +311,7 @@
                 $cmtinfo->{$i->{talkid}} = {
                     rc     => \@child_ids,
                     u      => $poster,
+                    username => $i->{'poster'} ? $i->{'poster'}->{'_u'}->{'user'} : '',
                     parent => $parent && $parent->valid ? $parent->dtalkid : undef,
                     full   => ($i->{full}),
                 };

Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2010-08-31 01:12:23 UTC (rev 17231)
+++ trunk/htdocs/talkread.bml	2010-08-31 02:55:16 UTC (rev 17232)
@@ -544,6 +544,7 @@
 
      my $pu = $post->{'posterid'} ? $user{$post->{'posterid'}} : undef;
      $LJci->{u} = $pu->{'I' eq $pu->{journaltype} ? 'name' : 'user'} if $pu;
+     $LJci->{'username'} = $pu->{'user'} if $pu;
 
      my $userpost = $post->{'userpost'};
      my $upost    = $post->{'upost'};

Tags: andy, bml, livejournal, 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