[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 20 Dec 2004 20:29:00 -0000


albertel		Mon Dec 20 15:29:00 2004 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - something has gone horribly awry in my mod_perl 2 detection code, just disable it for since well we don't work under mod_perl 2
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.579 loncom/lonnet/perl/lonnet.pm:1.580
--- loncom/lonnet/perl/lonnet.pm:1.579	Fri Dec 17 17:40:09 2004
+++ loncom/lonnet/perl/lonnet.pm	Mon Dec 20 15:29:00 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.579 2004/12/17 22:40:09 albertel Exp $
+# $Id: lonnet.pm,v 1.580 2004/12/20 20:29:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5546,10 +5546,10 @@
 }
 
 sub mod_perl_version {
+    return 1;
     if (defined($perlvar{'MODPERL2'})) {
 	return 2;
     }
-    return 1;
 }
 
 sub correct_line_ends {