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

[ljcom] r8119:

Committer: gprochaev
U   branches/modernize2/cgi-bin/LJ/Hooks/Userinfo.pm
U   branches/modernize2/cgi-bin/LJ/SUP.pm
U   branches/modernize2/cgi-bin/phonepost.pl
Modified: branches/modernize2/cgi-bin/LJ/Hooks/Userinfo.pm
===================================================================
--- branches/modernize2/cgi-bin/LJ/Hooks/Userinfo.pm	2010-01-19 09:32:14 UTC (rev 8118)
+++ branches/modernize2/cgi-bin/LJ/Hooks/Userinfo.pm	2010-01-19 10:13:54 UTC (rev 8119)
@@ -1,4 +1,4 @@
-	package LJ::LJcom;
+package LJ::LJcom;
 use strict;
 
 LJ::register_hook("userinfo_rows", sub {

Modified: branches/modernize2/cgi-bin/LJ/SUP.pm
===================================================================
--- branches/modernize2/cgi-bin/LJ/SUP.pm	2010-01-19 09:32:14 UTC (rev 8118)
+++ branches/modernize2/cgi-bin/LJ/SUP.pm	2010-01-19 10:13:54 UTC (rev 8119)
@@ -110,7 +110,7 @@
 
     # debug/testing options
     my %flags;
-    if ($LJ::IS_DEV_SERVER && LJ::Request->is_inited && LJ::Request->get_params && LJ::Request->get_params =~ /supads=([\w:]+)/) {
+    if ($LJ::IS_DEV_SERVER && LJ::Request->is_inited && LJ::Request->args && LJ::Request->args =~ /supads=([\w:]+)/) {
         %flags = map { $_ => 1 } split(/:/, $1);
         $ip_class = "russia" if $flags{ip_russia};
     }

Modified: branches/modernize2/cgi-bin/phonepost.pl
===================================================================
--- branches/modernize2/cgi-bin/phonepost.pl	2010-01-19 09:32:14 UTC (rev 8118)
+++ branches/modernize2/cgi-bin/phonepost.pl	2010-01-19 10:13:54 UTC (rev 8119)
@@ -78,7 +78,7 @@
         # from Akamai/Speedera/etc and the IP won't match
         my $remote = LJ::get_remote({ ignore_ip => 1 });
 
-        my %GET = LJ::Request->get_params;
+        my %GET = LJ::Request->args;
 
         my $viewall = 0;
         my $viewsome = 0;

Tags: ljcom, pl, 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