madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21262: LJSUP-11376: Problem with editing userpi...

Committer: sbelyaev
LJSUP-11376: Problem with editing userpic for delayed entries
U   trunk/cgi-bin/LJ/DelayedEntry.pm
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/LJ/DelayedEntry.pm
===================================================================
--- trunk/cgi-bin/LJ/DelayedEntry.pm	2012-02-28 12:14:04 UTC (rev 21261)
+++ trunk/cgi-bin/LJ/DelayedEntry.pm	2012-02-28 13:17:28 UTC (rev 21262)
@@ -38,6 +38,7 @@
     my $self = bless {}, $class;
 
     $req->{'event'} =~ s/\r\n/\n/g;
+    $req->{ext}->{flags}->{u} = undef; # it's no need to be stored
 
     my $journal = $opts->{journal};
     my $poster  = $opts->{poster};
@@ -125,6 +126,7 @@
     __assert( $self->{poster}, "no poster" );
 
     $req->{tz} = $req->{tz} || $self->data->{tz};
+    $req->{ext}->{flags}->{u} = undef; # it's no need to be stored
 
     my $journalid = $self->journal->userid;
     my $posterid  = $self->poster->userid;

Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-02-28 12:14:04 UTC (rev 21261)
+++ trunk/cgi-bin/ljprotocol.pl	2012-02-28 13:17:28 UTC (rev 21262)
@@ -375,7 +375,6 @@
             if ($req->{'asxml'} && $question->{text}) {
                 my $tidy = LJ::Tidy->new();
                 $question->{text} = $tidy->clean( $question->{text} );
-                warn "Tidy: Pool";
             }
 
             @{$res->{answers}{$question->pollqid}} = @answers;
@@ -2396,7 +2395,6 @@
             }
 
             $req->{ext}->{flags} = $flags;
-            $req->{ext}->{flags}->{u} = undef; # it's no need to be stored
             $req->{usejournal} = $req->{usejournal} || '';
             delete $req->{'custom_time'};
   
@@ -2897,7 +2895,6 @@
             return fail( $err, 215 ) unless $req->{tz};
 
             $req->{ext}->{flags} = $flags;
-            $req->{ext}->{flags}->{u} = undef; # it's no need to be stored
             $req->{usejournal} = $req->{usejournal}  || '';
 
             my $entry = LJ::DelayedEntry->get_entry_by_id(

Tags: livejournal, madeon, pl, pm, sbelyaev
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