wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r20676: LJSUP-10505. Allow access to new photoho...

Committer: gprochaev
LJSUP-10505. Allow access to new photohosting for all users

U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-12-02 06:08:38 UTC (rev 20675)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-12-02 08:58:16 UTC (rev 20676)
@@ -758,11 +758,13 @@
 
             LJ::set_remote ($u) unless $remote;
             $remote = LJ::get_remote();
-            unless ($remote && $remote->can_use_ljphoto()) {
+=head
+            unless ($remote && ($remote->can_use_ljphoto() || LJ::Request->uri =~ m#^/pics/new_photo_service#)) {
                 LJ::Request->pnotes ('error' => 'ljphoto_members');
                 LJ::Request->pnotes ('remote' => LJ::get_remote());
                 return LJ::Request::FORBIDDEN;
             }
+=cut
 
             unless ($u->is_person) {
                 LJ::Request->pnotes ('error' => 'e404');

Tags: gprochaev, livejournal, pm, wisest-owl
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