[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm
foxr
lon-capa-cvs@mail.lon-capa.org
Mon, 26 Jun 2006 21:36:55 -0000
foxr Mon Jun 26 17:36:55 2006 EDT
Modified files:
/loncom/interface loncreateuser.pm
Log:
I think that an extra convert_roles was left in.. I've left it commented out
in case I got the fix wrong.
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.120 loncom/interface/loncreateuser.pm:1.121
--- loncom/interface/loncreateuser.pm:1.120 Fri Jun 2 09:58:31 2006
+++ loncom/interface/loncreateuser.pm Mon Jun 26 17:36:53 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Create a user
#
-# $Id: loncreateuser.pm,v 1.120 2006/06/02 13:58:31 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.121 2006/06/26 21:36:53 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1770,9 +1770,10 @@
foreach ('st','ta','ep','in','cc') {
if (&Apache::lonnet::allowed('c'.$_,$thiscourse)) {
my $plrole=&Apache::lonnet::plaintext($_);
- if ($type eq 'Group') {
- $plrole = &Apache::loncommon::convert_role($plrole,$type);
- }
+ # Was this left in by mistake?
+ # if ($type eq 'Group') {
+ # $plrole = &Apache::loncommon::convert_role($plrole,$type);
+ # }
$table .= <<ENDEXTENT;
<tr bgcolor="#$bgcol">
<td><input type="checkbox" name="act_$protectedcourse\_$_"></td>