[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm
raeburn
raeburn at source.lon-capa.org
Wed Sep 11 10:20:38 EDT 2019
raeburn Wed Sep 11 14:20:38 2019 EDT
Modified files:
/loncom/interface lonuserutils.pm
Log:
- Reverse part of change in rev. 1.171 which had addressed bug 2593, in
case where no roles were being assigned.
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.203 loncom/interface/lonuserutils.pm:1.204
--- loncom/interface/lonuserutils.pm:1.203 Mon Aug 26 00:15:57 2019
+++ loncom/interface/lonuserutils.pm Wed Sep 11 14:20:38 2019
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.203 2019/08/26 00:15:57 raeburn Exp $
+# $Id: lonuserutils.pm,v 1.204 2019/09/11 14:20:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5048,16 +5048,16 @@
}
}
}
- if (!$multiple) {
- ($userresult,$authresult,$roleresult,$idresult) =
- &modifyuserrole($context,$setting,
- $changeauth,$cid,$userdomain,$username,
- $id,$amode,$password,$fname,
- $mname,$lname,$gen,$singlesec,
- $env{'form.forceid'},$desiredhost,
- $email,$role,$enddate,$startdate,
- $checkid,$inststatus);
- }
+ }
+ if (!$multiple) {
+ ($userresult,$authresult,$roleresult,$idresult) =
+ &modifyuserrole($context,$setting,
+ $changeauth,$cid,$userdomain,$username,
+ $id,$amode,$password,$fname,
+ $mname,$lname,$gen,$singlesec,
+ $env{'form.forceid'},$desiredhost,
+ $email,$role,$enddate,$startdate,
+ $checkid,$inststatus);
}
}
if ($multiple) {
More information about the LON-CAPA-cvs
mailing list