[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm

raeburn raeburn at source.lon-capa.org
Mon Jun 30 10:49:36 EDT 2014


raeburn		Mon Jun 30 14:49:36 2014 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Update user's session environment if DC modifies his/her own rights to
    request textbook courses.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.402 loncom/interface/loncreateuser.pm:1.403
--- loncom/interface/loncreateuser.pm:1.402	Fri Jun 13 11:22:41 2014
+++ loncom/interface/loncreateuser.pm	Mon Jun 30 14:49:35 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.402 2014/06/13 11:22:41 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.403 2014/06/30 14:49:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3044,7 +3044,7 @@
                         my %newenvhash;
                         foreach my $key (keys(%changed)) {
                             if (($key eq 'official') || ($key eq 'unofficial')
-                                || ($key eq 'community')) {
+                                || ($key eq 'community') || ($key eq 'textbook')) {
                                 $newenvhash{'environment.requestcourses.'.$key} =
                                     $changeHash{'requestcourses.'.$key};
                                 if ($changeHash{'requestcourses.'.$key}) {




More information about the LON-CAPA-cvs mailing list