[LON-CAPA-cvs] cvs: loncom /enrollment Enrollment.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Sun, 26 Dec 2004 21:03:34 -0000


raeburn		Sun Dec 26 16:03:34 2004 EDT

  Modified files:              
    /loncom/enrollment	Enrollment.pm 
  Log:
  Fixing copy and paste error, so new user creation will work again. 
  
  
Index: loncom/enrollment/Enrollment.pm
diff -u loncom/enrollment/Enrollment.pm:1.19 loncom/enrollment/Enrollment.pm:1.20
--- loncom/enrollment/Enrollment.pm:1.19	Tue Dec  7 01:40:09 2004
+++ loncom/enrollment/Enrollment.pm	Sun Dec 26 16:03:34 2004
@@ -1,5 +1,5 @@
 # Automated Enrollment manager
-# $Id: Enrollment.pm,v 1.19 2004/12/07 06:40:09 raeburn Exp $
+# $Id: Enrollment.pm,v 1.20 2004/12/26 21:03:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -305,7 +305,7 @@
                                     'linefeed' => $linefeed,
                                     'role' => 'st'
                                    };
-                        my $outcome = &create_newuser($args,\$logmsg,\$newusermsg,\$enrollcount,\$addresult,\%longroles,\%courseinfo) = @_;
+                        my $outcome = &create_newuser($args,$logmsg,$newusermsg,\$enrollcount,\$addresult,\%longroles,\%courseinfo);
                     } else {
                         &execute_add($context,'newstudent',$uname,$dom,$auth,$authparam,$first,$middle,$last,$gene,$pid,$usec,$end,$start,$emailenc,$cid,\$addresult,\$enrollcount,$linefeed,$logmsg);
                     }