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

raeburn raeburn at source.lon-capa.org
Sun Apr 2 00:36:07 EDT 2017


raeburn		Sun Apr  2 04:36:07 2017 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
  Log:
  - Outdated comment removed.
  - Remove duplicate call to get_permission().
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.439 loncom/interface/loncreateuser.pm:1.440
--- loncom/interface/loncreateuser.pm:1.439	Sat Apr  1 14:00:23 2017
+++ loncom/interface/loncreateuser.pm	Sun Apr  2 04:36:07 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.439 2017/04/01 14:00:23 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.440 2017/04/02 04:36:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4636,10 +4636,6 @@
                     help=>$allhelpitems}
                   ];
     }
-    #SD Following files not added to help, because the corresponding .tex-files seem to
-    #be missing: Course_Approve_Selfenroll,Course_User_Logs,
-    my ($permission,$allowed) = 
-        &Apache::lonuserutils::get_permission($context,$crstype);
     if (!$allowed) {
         if ($context eq 'course') {
             $r->internal_redirect('/adm/viewclasslist');




More information about the LON-CAPA-cvs mailing list