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

[ljcom] r13086: 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	2012-12-28 13:22:24 UTC (rev 13085)
+++ trunk/cgi-bin/LJ/Hooks/SUP.pm	2013-01-09 06:29:43 UTC (rev 13086)
@@ -421,7 +421,7 @@
 LJ::register_hook('check_cap_mass_privacy', sub {
     my $u = shift;
 
-    return 1 if (LJ::SUP->is_sup_enabled($u) && $u->in_class('plus'));
+    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');

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