[LON-CAPA-cvs] cvs: loncom /automation batchcreatecourse.pm

raeburn raeburn@source.lon-capa.org
Sat, 30 Jan 2010 15:47:01 -0000


raeburn		Sat Jan 30 15:47:01 2010 EDT

  Modified files:              
    /loncom/automation	batchcreatecourse.pm 
  Log:
  - &escape moved from lonnet.pm to LONCAPA.pm some time ago.
  
  
Index: loncom/automation/batchcreatecourse.pm
diff -u loncom/automation/batchcreatecourse.pm:1.33 loncom/automation/batchcreatecourse.pm:1.34
--- loncom/automation/batchcreatecourse.pm:1.33	Sat Oct 31 18:04:50 2009
+++ loncom/automation/batchcreatecourse.pm	Sat Jan 30 15:47:01 2010
@@ -1,5 +1,5 @@
 #
-# $Id: batchcreatecourse.pm,v 1.33 2009/10/31 18:04:50 raeburn Exp $
+# $Id: batchcreatecourse.pm,v 1.34 2010/01/30 15:47:01 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -320,7 +320,7 @@
                     @{$$details{$num}{'users'}{$userkey}{'roles'}} = ();
                  } elsif ("@state" eq "class users user email") {
                     $$details{$num}{'users'}{$userkey}{'emailaddr'} = $text;
-                    $$details{$num}{'users'}{$userkey}{'emailenc'} = &Apache::lonnet::escape($text); 
+                    $$details{$num}{'users'}{$userkey}{'emailenc'} = &LONCAPA:escape($text); 
                  } elsif ("@state" eq "class users user roles role start") {
                      if (grep(/^\Q$role\E$/,@possroles)) {
                          $$details{$num}{'users'}{$userkey}{$role}{'start'} = &process_date($text);