--- loncom/enrollment/localenroll.pm 2007/02/26 20:52:55 1.18 +++ loncom/enrollment/localenroll.pm 2007/05/14 20:15:23 1.20 @@ -1,6 +1,6 @@ # functions to glue school database system into Lon-CAPA for # automated enrollment -# $Id: localenroll.pm,v 1.18 2007/02/26 20:52:55 raeburn Exp $ +# $Id: localenroll.pm,v 1.20 2007/05/14 20:15:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -31,6 +31,11 @@ use strict; ################################ # sub run # set this to return 1 if you want the auto enrollment to run +# +# Beginning with LON-CAPA version 2.4, use of this routine is +# deprecated. Whether or not Autoenroll.pl should run is set +# by the Domain Coordinator via "Set domain configuration", +# provided in the Domain Management section of the Main menu. ################################ sub run() { @@ -560,6 +565,8 @@ sub get_userinfo { sub inst_usertypes { my ($dom,$usertypes,$order) = @_; + @{$order} = (); + %{$usertypes} = (); my $outcome = 'ok'; return $outcome; }