madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r21271: LJSUP-10298: Flag is ignored for communi...

Committer: sbelyaev
LJSUP-10298: Flag is ignored for community
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2012-02-29 12:48:41 UTC (rev 21270)
+++ trunk/cgi-bin/ljprotocol.pl	2012-02-29 13:15:11 UTC (rev 21271)
@@ -2203,6 +2203,10 @@
 
     my $event = $req->{'event'};
 
+    if ($uowner->is_community) {
+        delete $req->{'props'}->{'opt_backdated'};
+    }
+
     ### allow for posting to journals that aren't yours (if you have permission)
     my $posterid = $u->{'userid'}+0;
 
@@ -2851,6 +2855,10 @@
     my $qallowmask = $req->{'allowmask'}+0;
     my $sth;
 
+    if ($uowner->is_community) {
+        delete $req->{'props'}->{'opt_backdated'};
+    }
+
     my $itemid = $req->{'itemid'}+0;
     
     $itemid ||= int( ($req->{'ditemid'} + 0) / 256);

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