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

raeburn raeburn at source.lon-capa.org
Tue Apr 2 09:36:35 EDT 2013


raeburn		Tue Apr  2 13:36:35 2013 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Bug 5176
    - Fix typo in rev. 1.239. (context logged is "automated" not "auto").
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.375 loncom/interface/loncreateuser.pm:1.376
--- loncom/interface/loncreateuser.pm:1.375	Fri Mar  1 04:55:34 2013
+++ loncom/interface/loncreateuser.pm	Tue Apr  2 13:36:34 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.375 2013/03/01 04:55:34 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.376 2013/04/02 13:36:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6025,7 +6025,7 @@
                &mt('Context:').'</b><br /><select name="chgcontext">';
     my @posscontexts;
     if ($context eq 'course') {
-        @posscontexts = ('any','auto','updatenow','createcourse','course','domain','selfenroll','requestcourses');
+        @posscontexts = ('any','automated','updatenow','createcourse','course','domain','selfenroll','requestcourses');
     } elsif ($context eq 'domain') {
         @posscontexts = ('any','domain','requestauthor','domconfig','server');
     } else {
@@ -6037,7 +6037,7 @@
             $selstr = ' selected="selected"';
         }
         if ($context eq 'course') {
-            if (($chgtype eq 'auto') || ($chgtype eq 'updatenow')) {
+            if (($chgtype eq 'automated') || ($chgtype eq 'updatenow')) {
                 next if (!&Apache::lonnet::auto_run($cnum,$cdom));
             }
         }
@@ -6073,7 +6073,7 @@
     if ($context eq 'course') {
         %lt = &Apache::lonlocal::texthash (
                                              any          => 'Any',
-                                             auto         => 'Automated enrollment',
+                                             automated    => 'Automated Enrollment',
                                              updatenow    => 'Roster Update',
                                              createcourse => 'Course Creation',
                                              course       => 'User Management in course',




More information about the LON-CAPA-cvs mailing list