Committer: sbelyaev
LJSUP-9307: removed duplicate of codeU trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl =================================================================== --- trunk/cgi-bin/ljprotocol.pl 2012-03-11 07:41:25 UTC (rev 21331) +++ trunk/cgi-bin/ljprotocol.pl 2012-03-11 08:03:17 UTC (rev 21332) @@ -2582,13 +2582,6 @@ "UNIX_TIMESTAMP($qeventtime), $rlogtime, $anum)"); return $fail->($err,501,$dberr) if $dberr; - if ( $req->{sticky} && - $uowner->is_community() && - !$u->can_manage($uowner) ) - { - return fail($err, 158); - } - # post become 'sticky post' if ( $req->{sticky} ) { $uowner->set_sticky_id($jitemid);