]> git.mjollnir.org Git - moodle.git/commitdiff
quiz editing: MDL-17294 removed the $showbreaks parameter from quiz_print_question_list
authorpilpi <pilpi>
Fri, 28 Nov 2008 18:37:24 +0000 (18:37 +0000)
committerpilpi <pilpi>
Fri, 28 Nov 2008 18:37:24 +0000 (18:37 +0000)
mod/quiz/edit.php
mod/quiz/editlib.php

index 6d1670e7b2944336d6ce6742c463c97108cb098a..29ec41811ce184f00e309b6ab4ef0f788058eb0f 100644 (file)
@@ -702,7 +702,6 @@ if($quiz_reordertool){
 }
 ob_start();
 $sumgrades = quiz_print_question_list($quiz, $thispageurl, true,
-        null,
         $quiz_reordertool, $quiz_qbanktool, $quiz_has_attempts);
 
 if (!$DB->set_field('quiz', 'sumgrades', $sumgrades, array('id' => $quiz->instance))) {
index 9a9aa7336c82d08589569530fb134e3b9c1ce23e..dcced9c2b7d257672d8e56bd68f97a0f3b7f91ee 100644 (file)
@@ -160,9 +160,8 @@ function quiz_update_question_instance($grade, $questionid, $quizid) {
 * @param boolean $quiz_qbanktool  Indicates whether the question bank should be displayed
 * @param boolean $hasattempts  Indicates whether the quiz has attempts
 */
-//TODO: Tim? remove showbreaks since it is no longer used
 function quiz_print_question_list($quiz, $pageurl, $allowdelete=true,
-        $showbreaks=true,$reordertool=false, $quiz_qbanktool=false,
+        $reordertool=false, $quiz_qbanktool=false,
         $hasattempts=false) {
     global $USER, $CFG, $QTYPES, $DB;
     $strorder = get_string("order");