[LON-CAPA-cvs] cvs: loncom /interface lonpopulate.pm

raeburn lon-capa-cvs@mail.lon-capa.org
Mon, 23 Aug 2004 16:32:35 -0000


raeburn		Mon Aug 23 12:32:35 2004 EDT

  Modified files:              
    /loncom/interface	lonpopulate.pm 
  Log:
  Fix bug 3255. 
  
  
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.17 loncom/interface/lonpopulate.pm:1.18
--- loncom/interface/lonpopulate.pm:1.17	Thu Aug  5 17:57:07 2004
+++ loncom/interface/lonpopulate.pm	Mon Aug 23 12:32:35 2004
@@ -1,5 +1,5 @@
 # automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.17 2004/08/05 21:57:07 raeburn Exp $
+# $Id: lonpopulate.pm,v 1.18 2004/08/23 16:32:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1439,7 +1439,7 @@
 		$nextupdate = "at 1.30 am tomorrow";
 	    }
 	} else {
-	    my @enrollstart = &Apache::lonlocal::locallocaltime($autostart);
+	    my @enrollstart = localtime($autostart);
 	    $nextupdate = timelocal(0,30,1,$enrollstart[3],$enrollstart[4],$enrollstart[5]);
 	    unless (($enrollstart[2] < 1) || ($enrollstart[2] == 1 && $enrollstart[1] <=30))  {
 		$nextupdate += 86400;