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

www lon-capa-cvs@mail.lon-capa.org
Sat, 18 May 2002 18:54:29 -0000


www		Sat May 18 14:54:29 2002 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Removed dublicated code section reading loncapa_apache
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.225 loncom/lonnet/perl/lonnet.pm:1.226
--- loncom/lonnet/perl/lonnet.pm:1.225	Fri May 17 17:02:45 2002
+++ loncom/lonnet/perl/lonnet.pm	Sat May 18 14:54:29 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.225 2002/05/17 21:02:45 albertel Exp $
+# $Id: lonnet.pm,v 1.226 2002/05/18 18:54:29 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2822,17 +2822,6 @@
 }
 {
     my $config=Apache::File->new("/etc/httpd/conf/loncapa.conf");
-
-    while (my $configline=<$config>) {
-        if ($configline =~ /^[^\#]*PerlSetVar/) {
-	   my ($dummy,$varname,$varvalue)=split(/\s+/,$configline);
-           chomp($varvalue);
-           $perlvar{$varname}=$varvalue;
-        }
-    }
-}
-{
-    my $config=Apache::File->new("/etc/httpd/conf/loncapa_apache.conf");
 
     while (my $configline=<$config>) {
         if ($configline =~ /^[^\#]*PerlSetVar/) {