From: pichetp
Date: Mon, 1 Jun 2009 03:14:51 +0000 (+0000)
Subject: MDL-17366 removing echo debugging lines.
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f965e5fbfc6fe7d1945b407e57941e01da37f02e;p=moodle.git
MDL-17366 removing echo debugging lines.
---
diff --git a/question/type/calculatedsimple/questiontype.php b/question/type/calculatedsimple/questiontype.php
index 7eedba4d5b..6a2213c854 100644
--- a/question/type/calculatedsimple/questiontype.php
+++ b/question/type/calculatedsimple/questiontype.php
@@ -166,7 +166,6 @@ class question_calculatedsimple_qtype extends question_calculated_qtype {
}
}
$datasetdefs = $this->get_dataset_definitions($question->id, $question->dataset);
- // echo " datasetdefs save
";print_r($datasetdefs);echo"
";
// 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 " question save
";print_r($question);echo"
";
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 "comments header answers
";print_r($answers);echo"
";
foreach ($answers as $key => $answer) {
/* if (is_string($answer)) {