Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[ljcom] r13087: LJSV-2333: editprivacy.bml not available...

Committer: dnikolaev
LJSV-2333: editprivacy.bml not available for non-cyr plus users

U   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 = @_;

Tags: dnikolaev, ljcom, pm, wildkin
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments