[LON-CAPA-cvs] cvs: rat / lonuserstate.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 27 Apr 2006 23:36:12 -0000


albertel		Thu Apr 27 19:36:12 2006 EDT

  Modified files:              
    /rat	lonuserstate.pm 
  Log:
  - not completely sure why I need to do this so newly logged in users can acquire a role but it seems needed
  
  
Index: rat/lonuserstate.pm
diff -u rat/lonuserstate.pm:1.107 rat/lonuserstate.pm:1.108
--- rat/lonuserstate.pm:1.107	Fri Mar  3 17:32:49 2006
+++ rat/lonuserstate.pm	Thu Apr 27 19:36:10 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Construct and maintain state and binary representation of course for user
 #
-# $Id: lonuserstate.pm,v 1.107 2006/03/03 22:32:49 albertel Exp $
+# $Id: lonuserstate.pm,v 1.108 2006/04/27 23:36:10 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -543,7 +543,7 @@
 sub readmap {
     my $short=shift;
     $short=~s/^\///;
-    my %cenv=&Apache::lonnet::coursedescription($short);
+    my %cenv=&Apache::lonnet::coursedescription($short,{'freshen_cache'=>1});
     my $fn=$cenv{'fn'};
     my $uri;
     $short=~s/\//\_/g;