[LON-CAPA-cvs] cvs: loncom /enrollment Autoenroll.pl

raeburn raeburn@source.lon-capa.org
Thu, 08 Jan 2009 16:58:05 -0000


raeburn		Thu Jan  8 16:58:05 2009 EDT

  Modified files:              
    /loncom/enrollment	Autoenroll.pl 
  Log:
  - Two renamings from $settings to $domsettings omitted in rev 1.30. 
  
  
Index: loncom/enrollment/Autoenroll.pl
diff -u loncom/enrollment/Autoenroll.pl:1.30 loncom/enrollment/Autoenroll.pl:1.31
--- loncom/enrollment/Autoenroll.pl:1.30	Sun Jan  4 05:52:58 2009
+++ loncom/enrollment/Autoenroll.pl	Thu Jan  8 16:58:04 2009
@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 #
 #Automated Enrollment script
-# $Id: Autoenroll.pl,v 1.30 2009/01/04 05:52:58 raeburn Exp $
+# $Id: Autoenroll.pl,v 1.31 2009/01/08 16:58:04 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -172,8 +172,8 @@
                             if (ref($domsettings) eq 'HASH') {
                                 if (($domsettings->{'sender_uname'} ne '') && 
                                     ($domsettings->{'sender_domain'} ne '')) {
-                                    $env{'user.name'} = $settings->{'sender_uname'};
-                                    $env{'user.domain'} = $settings->{'sender_domain'};
+                                    $env{'user.name'} = $domsettings->{'sender_uname'};
+                                    $env{'user.domain'} = $domsettings->{'sender_domain'};
                                 }
                             }
                             if ($enrollvar{$crs}{notifylist}  eq '') {