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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 21 May 2003 16:06:09 -0000


matthew		Wed May 21 12:06:09 2003 EDT

  Modified files:              
    /loncom/interface	londropadd.pm 
  Log:
  Remove useless parameter to get_date_from_form.
  
  
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.65 loncom/interface/londropadd.pm:1.66
--- loncom/interface/londropadd.pm:1.65	Wed Apr 30 11:49:45 2003
+++ loncom/interface/londropadd.pm	Wed May 21 12:06:09 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to drop and add students in courses 
 #
-# $Id: londropadd.pm,v 1.65 2003/04/30 15:49:45 matthew Exp $
+# $Id: londropadd.pm,v 1.66 2003/05/21 16:06:09 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1080,10 +1080,8 @@
     my $section    = $ENV{'form.section'};
     my $courseid   = $ENV{'request.course.id'};
     my $sid        = $ENV{'form.id'};
-    my $starttime = &Apache::lonhtmlcommon::get_date_from_form('startdate',
-                                                               time);
-    my $endtime   = &Apache::lonhtmlcommon::get_date_from_form('enddate',
-                                                               time);
+    my $starttime = &Apache::lonhtmlcommon::get_date_from_form('startdate');
+    my $endtime   = &Apache::lonhtmlcommon::get_date_from_form('enddate');
     my $displayable_starttime = localtime($starttime);
     my $displayable_endtime   = localtime($endtime);
     #