Committer: gprochaev
LJSUP-10505. Allow access to new photohosting for all usersU trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm =================================================================== --- trunk/cgi-bin/LJ/User.pm 2011-12-01 12:27:40 UTC (rev 20672) +++ trunk/cgi-bin/LJ/User.pm 2011-12-01 13:41:45 UTC (rev 20673) @@ -3824,12 +3824,7 @@ return 0 if $LJ::DISABLED{'new_ljphoto'}; - ## For beta-testers only. - foreach my $community (@LJ::LJPHOTO_ALLOW_FROM_COMMUNITIES){ - my $comm = LJ::load_user($community); - next unless $comm; - return 1 if $u->can_manage ($comm) or $comm->is_friend($u); - } + return 1 if $u->prop ('fotki_migration_status'); return 0; }