]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17366 removing echo debugging lines.
authorpichetp <pichetp>
Mon, 1 Jun 2009 03:14:51 +0000 (03:14 +0000)
committerpichetp <pichetp>
Mon, 1 Jun 2009 03:14:51 +0000 (03:14 +0000)
question/type/calculatedsimple/questiontype.php

index 7eedba4d5b9ff3469901ea946d503ce3fec19729..6a2213c854e1d147e9f51dff1668bdf55cfee3a0 100644 (file)
@@ -166,7 +166,6 @@ class question_calculatedsimple_qtype extends question_calculated_qtype {
             }
         }
         $datasetdefs = $this->get_dataset_definitions($question->id, $question->dataset);
-              //         echo "<p> datasetdefs  save  <pre>";print_r($datasetdefs);echo"</pre></p>";
                     // Handle adding and removing of dataset items
        $i = 1;
         ksort($question->definition);
@@ -202,7 +201,6 @@ class question_calculatedsimple_qtype extends question_calculated_qtype {
         // Report any problems.
         //convert to calculated
         if(!empty($question->makecopy) && !empty($question->convert) ){
-        //     echo "<p> question  save  <pre>";print_r($question);echo"</pre></p>";
                        if (!$DB->set_field('question', 'qtype', 'calculated', array('id'=> $question->id))) {
                                print_error('cannotupdateitem', 'question');
                        }
@@ -274,7 +272,6 @@ class question_calculatedsimple_qtype extends question_calculated_qtype {
         $delimiter = '';
 
        // $answers = $question->options->answers;
-        //  echo "<p>comments header answers  <pre>";print_r($answers);echo"</pre></p>";
 
         foreach ($answers as $key => $answer) {
          /*   if (is_string($answer)) {