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

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 10 Nov 2003 23:57:49 -0000


albertel		Mon Nov 10 18:57:49 2003 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - delenv needs user.environment
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.445 loncom/lonnet/perl/lonnet.pm:1.446
--- loncom/lonnet/perl/lonnet.pm:1.445	Mon Nov 10 17:12:52 2003
+++ loncom/lonnet/perl/lonnet.pm	Mon Nov 10 18:57:49 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.445 2003/11/10 22:12:52 www Exp $
+# $Id: lonnet.pm,v 1.446 2003/11/10 23:57:49 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -247,10 +247,10 @@
             }
         }
     }
+    $ENV{'user.environment'} = "$lonidsdir/$handle.id";
     foreach my $expired_key (keys(%Remove)) {
         &delenv($expired_key);
     }
-    $ENV{'user.environment'} = "$lonidsdir/$handle.id";
 }
 
 # ---------------------------------------------------------- Append Environment