Committer: dnikolaev
LJSV-2333: editprivacy.bml not available for non-cyr plus usersU trunk/cgi-bin/LJ/Hooks/SUP.pm
Modified: trunk/cgi-bin/LJ/Hooks/SUP.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/SUP.pm 2013-01-09 06:29:43 UTC (rev 13086) +++ trunk/cgi-bin/LJ/Hooks/SUP.pm 2013-01-09 06:44:48 UTC (rev 13087) @@ -414,19 +414,6 @@ return "$LJ::SITEROOT/abuse/policy-russian-translation.bml"; }); -## -## Allow SUP Plus users to use Mass Privacy Tool. -## (Currently, this tool is accessible by Paid users only -## -LJ::register_hook('check_cap_mass_privacy', sub { - my $u = shift; - - return 1 if $u->in_class('plus'); - return; ## return undef otherwise - ## the short form below is incorrect - ## return $u->in_class('sup_user') && $u->in_class('plus'); -}); - #switch of notifications to parent comment poster when commenting in SUP Managed journals LJ::register_hook('talklib_email_parent_comment_poster', sub { my %opts = @_;