fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-06-11 05:43 am

[dw-free] Allow S2 to access whether the viewer is allowed to manage tags on the journal they are vi

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

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

Remove line which always made the link print out.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/S2.pm
--------------------------------------------------------------------------------
diff -r 39623b742ad2 -r cbd13899d227 cgi-bin/LJ/S2.pm
--- a/cgi-bin/LJ/S2.pm	Fri Jun 11 13:45:12 2010 +0800
+++ b/cgi-bin/LJ/S2.pm	Fri Jun 11 13:49:06 2010 +0800
@@ -2645,7 +2645,6 @@ sub viewer_can_manage_tags
     return 0 unless defined $LJ::S2::CURR_PAGE;
 
     my $ju = $LJ::S2::CURR_PAGE->{_u};
-    return 1;
     return $remote->can_control_tags( $ju );
 }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org