Remove tests that were preventing tags from being edited on community
entries posted by a user whose account was deleted.
Patch by the_wanlorn.
diffs (20 lines):
diff -r 59641e57d208 -r 3bf819c640a2 htdocs/edittags.bml
--- a/htdocs/edittags.bml Thu Jun 10 07:45:01 2010 -0500
+++ b/htdocs/edittags.bml Thu Jun 10 08:06:16 2010 -0500
@@ -52,16 +52,6 @@ body<=
or die "Unable to create entry object.\n";
return $err->( $ML{'.invalid.notauthorized'} )
unless $ent->visible_to( $remote );
-
- # poster must be visible too
- if ($logrow->{posterid} != $u->{userid}) {
- my $pu = LJ::load_userid($logrow->{posterid});
-
- unless ($remote->can_manage($u) && !$pu->is_suspended) {
- return $err->($ML{'.readonly.poster'}) if $pu->is_readonly;
- return $err->($ML{'.invalid.journal'}) unless $pu->is_visible;
- }
- }
if (LJ::did_post()) {
return $err->($ML{'.invalid.link'})
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog