Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r22689: LJSUP-12967 (Allow SB for basic users)

Committer: ailyin
LJSUP-12967 (Allow SB for basic users)
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2012-08-17 14:13:15 UTC (rev 22688)
+++ trunk/cgi-bin/LJ/User.pm	2012-08-17 14:37:19 UTC (rev 22689)
@@ -3930,7 +3930,7 @@
     return 0 unless $u->can_use_ljphoto();
 
     ## Basic user has no access to ljphoto
-    return 0 if not ($u->get_cap('paid') or $u->in_class('plus') );
+    return 0 unless $u->get_cap('disk_quota');
 
     return 1;
 }

Tags: ailyin, andy, livejournal, pm
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