mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-01-07 10:03 am

[dw-free] Screen all comments (including yours) when entry is set to screen 'all comments'

[commit: http://hg.dwscoalition.org/dw-free/rev/9aa132c7f1d2]

http://bugs.dwscoalition.org/show_bug.cgi?id=2166

People who can manage a post should obey the same screen-on-comment rules as
everybody else. This allows journal owners, community maintainers, etc to
comment screened too and should be more intuitive.

Patch by [personal profile] yvi.

Files modified:
  • cgi-bin/LJ/Talk.pm
--------------------------------------------------------------------------------
diff -r bcf78e8006c7 -r 9aa132c7f1d2 cgi-bin/LJ/Talk.pm
--- a/cgi-bin/LJ/Talk.pm	Thu Jan 07 09:55:55 2010 +0000
+++ b/cgi-bin/LJ/Talk.pm	Thu Jan 07 10:03:09 2010 +0000
@@ -3250,7 +3250,6 @@ sub init {
         ($screening eq 'F' && !($up && $journalu->trusts_or_has_member( $up ))))) {
         $state = 'S';
     }
-    $state = 'A' if LJ::Talk::can_unscreen($up, $journalu, $init->{entryu}, $init->{entryu}{user});
 
     my $parent = {
         state     => $parpost->{state},
--------------------------------------------------------------------------------