vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17246: Chagnes for Apache2 migration.

Committer: vsukhanov
Chagnes for Apache2 migration.
U   trunk/cgi-bin/XML/Atom/Server.pm
Modified: trunk/cgi-bin/XML/Atom/Server.pm
===================================================================
--- trunk/cgi-bin/XML/Atom/Server.pm	2010-08-31 21:26:26 UTC (rev 17245)
+++ trunk/cgi-bin/XML/Atom/Server.pm	2010-09-01 04:35:49 UTC (rev 17246)
@@ -14,17 +14,19 @@
 use constant NS_WSSE => 'http://schemas.xmlsoap.org/ws/2002/07/secext';
 use constant NS_WSU => 'http://schemas.xmlsoap.org/ws/2002/07/utility';
 
+use LJ::Request;
+
+
 sub handler ($$) {
     my $class = shift;
     my($r) = @_;
-    require Apache::Constants;
     if (lc($r->dir_config('Filter') || '') eq 'on') {
         $r = $r->filter_register;
     }
     my $server = $class->new or die $class->errstr;
     $server->{apache} = $r;
     $server->run;
-    return Apache::Constants::OK();
+    return LJ::Request::OK();
 }
 
 sub new {

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