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

raeburn raeburn@source.lon-capa.org
Thu, 03 Sep 2009 21:23:36 -0000


raeburn		Thu Sep  3 21:23:36 2009 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Include 'inststatus' in settings retrieved from user's environment.db.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1024 loncom/lonnet/perl/lonnet.pm:1.1025
--- loncom/lonnet/perl/lonnet.pm:1.1024	Fri Aug 28 19:43:10 2009
+++ loncom/lonnet/perl/lonnet.pm	Thu Sep  3 21:23:36 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1024 2009/08/28 19:43:10 raeburn Exp $
+# $Id: lonnet.pm,v 1.1025 2009/09/03 21:23:36 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4728,7 +4728,7 @@
         $toolstatus = $env{'environment.'.$context.'.'.$tool};
         $inststatus = $env{'environment.inststatus'};
     } else {
-        my %userenv = &userenvironment($udom,$uname,$context.'.'.$tool);
+        my %userenv = &userenvironment($udom,$uname,$context.'.'.$tool,'inststatus');
         $toolstatus = $userenv{$context.'.'.$tool};
         $inststatus = $userenv{'inststatus'};
     }