From: pilpi Date: Fri, 28 Nov 2008 18:57:43 +0000 (+0000) Subject: quiz editing: MDL-17294 removed unnecessary comments X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=49a020c6723a0ea67be4f776c9b38dc45ae0661e;p=moodle.git quiz editing: MDL-17294 removed unnecessary comments --- diff --git a/mod/quiz/editlib.php b/mod/quiz/editlib.php index d511f3b32d..91c24f15ee 100644 --- a/mod/quiz/editlib.php +++ b/mod/quiz/editlib.php @@ -705,8 +705,6 @@ function quiz_simple_question_list($pageurl, $categorylist, $numbertoshow=3, "category $usql AND parent = '0' $showhidden", $params, $sortorderdecoded, '*', 0, $numbertoshow)) { // There are no questions at all - //TODO: if moodle used PHP exceptions, we would raise one here so that - //the main UI would know to display quis status "unfinished". return; } } @@ -782,7 +780,6 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool check_theme_arrows(); echo '
'; - //TODO: Tim? I left this out from the below get_record call:, , 'contextid' => $contextid if (!$category = $DB->get_record('question_categories', array('id' => $question->category))) { notify('Random question category not found!'); return; @@ -938,7 +935,6 @@ function quiz_print_randomquestion_reordertool(&$question, &$pageurl, &$quiz){ echo '
'; - //TODO: Tim? I left this out from the below get_record call:, 'contextid', $contextid if (!$category = $DB->get_record('question_categories', array('id' => $question->category))) { notify('Random question category not found!'); return; @@ -1014,8 +1010,6 @@ function quiz_question_tostring(&$question,$showicon=false,$showquestiontext=tru if(!empty($questiontext)){ $result.=$questiontext; }else{ - //TODO: if moodle used PHP exceptions, we would raise one here so that - //the main UI would know to display quis status "unfinished". $result.=''; $result.= get_string("questiontextisempty","quiz"); $result.='';