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

[livejournal] r21335: LJSUP-11389 (Need disable flag for New P...

Committer: ailyin
LJSUP-11389 (Need disable flag for New Photohosting when it's on Prod)
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-03-11 08:53:23 UTC (rev 21334)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-03-11 11:10:17 UTC (rev 21335)
@@ -1679,7 +1679,6 @@
         'privacyData'     => LJ::Widget::Fotki::Photo->get_user_groups($remote),
         'type'            => 'upload',
         'guid'            => $auth_token,
-        'pics_production' => LJ::is_enabled('pics_production'),
     };
 
     my $photouploader_params_out = LJ::JSON->to_json($photouploader_params);

Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2012-03-11 08:53:23 UTC (rev 21334)
+++ trunk/cgi-bin/weblib.pl	2012-03-11 11:10:17 UTC (rev 21335)
@@ -1413,6 +1413,7 @@
                 remoteJournalBase        => $remote && $remote->journal_base,
                 remoteUser               => $remote && $remote->user,
                 remoteLocale             => LJ::lang_to_locale( LJ::Lang::get_remote_lang() ),
+                pics_production          => LJ::is_enabled('pics_production'),
         );
         $site{default_copyright} = $default_copyright if LJ::is_enabled('default_copyright', $remote);
         $site{is_dev_server} = 1 if $LJ::IS_DEV_SERVER;

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