[LON-CAPA-cvs] cvs: loncom /interface slotrequest.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 10 Apr 2007 23:30:42 -0000
albertel Tue Apr 10 19:30:42 2007 EDT
Modified files:
/loncom/interface slotrequest.pm
Log:
- preventing students from reserving a slot if it is already underway
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.75 loncom/interface/slotrequest.pm:1.76
--- loncom/interface/slotrequest.pm:1.75 Tue Apr 10 19:28:20 2007
+++ loncom/interface/slotrequest.pm Tue Apr 10 19:30:41 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler for requesting to have slots added to a students record
#
-# $Id: slotrequest.pm,v 1.75 2007/04/10 23:28:20 albertel Exp $
+# $Id: slotrequest.pm,v 1.76 2007/04/10 23:30:41 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -647,7 +647,7 @@
#already started
if ($slot->{'starttime'} < time) {
# all open slot to be schedulable
- #return 0;
+ return 0;
}
&Apache::lonxml::debug("$slot_name starttime good");