[LON-CAPA-cvs] cvs: loncom(version_2_2_X) /lonnet/perl lonnet.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 04 Oct 2006 19:52:14 -0000
albertel Wed Oct 4 15:52:14 2006 EDT
Modified files: (Branch: version_2_2_X)
/loncom/lonnet/perl lonnet.pm
Log:
- backport 1.788
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.782.2.2 loncom/lonnet/perl/lonnet.pm:1.782.2.3
--- loncom/lonnet/perl/lonnet.pm:1.782.2.2 Thu Sep 28 14:23:32 2006
+++ loncom/lonnet/perl/lonnet.pm Wed Oct 4 15:52:08 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.782.2.2 2006/09/28 18:23:32 albertel Exp $
+# $Id: lonnet.pm,v 1.782.2.3 2006/10/04 19:52:08 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -295,9 +295,9 @@
# ------------------------------------------- Transfer profile into environment
my $env_loaded;
sub transfer_profile_to_env {
- if ($env_loaded) { return; }
+ my ($lonidsdir,$handle,$force_transfer) = @_;
+ if (!$force_transfer && $env_loaded) { return; }
- my ($lonidsdir,$handle)=@_;
if (!defined($lonidsdir)) {
$lonidsdir = $perlvar{'lonIDsDir'};
}