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

[livejournal] r16134: LJSUP-5445

Committer: gprochaev
LJSUP-5445

U   trunk/cgi-bin/ljlib.pl
Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2010-01-25 11:14:09 UTC (rev 16133)
+++ trunk/cgi-bin/ljlib.pl	2010-01-25 11:34:42 UTC (rev 16134)
@@ -2942,7 +2942,7 @@
         return $BML::COOKIE{'fake_ip'} if LJ::is_web_context() && $BML::COOKIE{'fake_ip'};
     }
     eval {
-        $ip = LJ::Request->instance->connection->remote_ip;
+        $ip = LJ::Request::connection()->remote_ip;
     };
     return $ip || $ENV{'FAKE_IP'};
 }

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