[LON-CAPA-cvs] cvs: loncom /enrollment Autoupdate.pl
raeburn
raeburn@source.lon-capa.org
Sun, 21 Mar 2010 20:39:30 -0000
raeburn Sun Mar 21 20:39:30 2010 EDT
Modified files:
/loncom/enrollment Autoupdate.pl
Log:
- Consistent naming for generation field.
Index: loncom/enrollment/Autoupdate.pl
diff -u loncom/enrollment/Autoupdate.pl:1.14 loncom/enrollment/Autoupdate.pl:1.15
--- loncom/enrollment/Autoupdate.pl:1.14 Sun Sep 6 02:11:46 2009
+++ loncom/enrollment/Autoupdate.pl Sun Mar 21 20:39:30 2010
@@ -1,7 +1,7 @@
#!/usr/bin/perl
#
# Automated Userinfo update script
-# $Id: Autoupdate.pl,v 1.14 2009/09/06 02:11:46 raeburn Exp $
+# $Id: Autoupdate.pl,v 1.15 2010/03/21 20:39:30 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -112,7 +112,7 @@
if ($settings->{'classlists'} == 1) {
if ($field eq 'id') {
$changes{'id'} = 1;
- } elsif ($field eq 'lastname' || $field eq 'firstname' || $field eq 'middlename' || $field eq 'gen') {
+ } elsif ($field eq 'lastname' || $field eq 'firstname' || $field eq 'middlename' || $field eq 'generation') {
$changes{'fullname'} = 1;
}
}