[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
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=663
Remove line which always made the link print out.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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 ); } --------------------------------------------------------------------------------