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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sat, 20 Sep 2008 00:25:40 -0000


raeburn		Fri Sep 19 20:25:40 2008 EDT

  Modified files:              
    /loncom/homework/caparesponse	caparesponse.pm 
  Log:
  - Removing a block that is no longer used.
  - Removing a debug comment.  
  
  
Index: loncom/homework/caparesponse/caparesponse.pm
diff -u loncom/homework/caparesponse/caparesponse.pm:1.233 loncom/homework/caparesponse/caparesponse.pm:1.234
--- loncom/homework/caparesponse/caparesponse.pm:1.233	Fri Sep 12 22:08:33 2008
+++ loncom/homework/caparesponse/caparesponse.pm	Fri Sep 19 20:25:39 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # caparesponse definition
 #
-# $Id: caparesponse.pm,v 1.233 2008/09/13 02:08:33 raeburn Exp $
+# $Id: caparesponse.pm,v 1.234 2008/09/20 00:25:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -310,9 +310,6 @@
 						    $safeeval);
 	    if ($unit =~ /\S/) { $result.=" (in $unit) "; }
 	}
-        if (($token->[1] eq 'formularesponse') && 
-            ($Apache::inputtags::status['-1'] eq 'CAN_ANSWER')) {
-        }
 	if (  &Apache::response::show_answer() ) {
 	    &set_answertext($tag_internal_answer_name,$target,$token,$tagstack,
 			    $parstack,$parser,$safeeval,-1);
@@ -613,7 +610,6 @@
             && ($Apache::lonhomework::type ne 'exam') && ($Apache::inputtags::status['-1'] eq 'CAN_ANSWER')
 	    && (&Apache::lonnet::EXT('resource.'.$partid.'_'.$id.'.turnoneditor') ne 'no')){	   
            $result.=&Apache::response::edit_mathresponse_button($id,"HWVAL_$id");
-#hier
         }
             
 	&Apache::response::setup_prior_tries_hash(\&format_prior_response_numerical);