[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 06 Jun 2003 04:22:46 -0000


albertel		Fri Jun  6 00:22:46 2003 EDT

  Modified files:              
    /loncom/homework	lonhomework.pm 
  Log:
  - disabling exam checking out for now.
  
  
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.132 loncom/homework/lonhomework.pm:1.133
--- loncom/homework/lonhomework.pm:1.132	Fri May 23 02:45:45 2003
+++ loncom/homework/lonhomework.pm	Fri Jun  6 00:22:46 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Homework handler
 #
-# $Id: lonhomework.pm,v 1.132 2003/05/23 06:45:45 albertel Exp $
+# $Id: lonhomework.pm,v 1.133 2003/06/06 04:22:46 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -225,10 +225,10 @@
     }
   }
 
-  if (($status ne 'CLOSED') && ($Apache::lonhomework::type eq 'exam') &&
-      (!$Apache::lonhomework::history{"resource.0.outtoken"})) {
-      return ('UNCHECKEDOUT','needs to be checked out');
-  }
+  #if (($status ne 'CLOSED') && ($Apache::lonhomework::type eq 'exam') &&
+  #    (!$Apache::lonhomework::history{"resource.0.outtoken"})) {
+  #    return ('UNCHECKEDOUT','needs to be checked out');
+  #}
 
 
   &Apache::lonxml::debug("sending back :$status:$datemsg:");