--- loncom/interface/domainprefs.pm 2009/05/07 19:36:49 1.95 +++ loncom/interface/domainprefs.pm 2009/05/19 20:00:24 1.96 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to set domain-wide configuration settings # -# $Id: domainprefs.pm,v 1.95 2009/05/07 19:36:49 www Exp $ +# $Id: domainprefs.pm,v 1.96 2009/05/19 20:00:24 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4200,22 +4200,25 @@ sub modify_usercreation { $chgtext .= ''; } } elsif ($type eq 'statustocreate') { - if (@{$cancreate{'selfcreate'}} > 0) { - if (@{$cancreate{$type}} == 0) { - if (!grep(/^email$/,@{$cancreate{'selfcreate'}})) { - $chgtext .= &mt("However, no institutional affiliations (including 'other') are currently permitted to create accounts."); - } - } elsif (ref($usertypes) eq 'HASH') { - if (grep(/^(login|sso)$/,@{$cancreate{'selfcreate'}})) { - $chgtext .= &mt('creation of a new account for an institutional user is restricted to the following institutional affiliation(s):').'