}
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))) {
* @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");