mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
quiz editing: MDL-17294 removed the $showbreaks parameter from quiz_print_question_list
This commit is contained in:
parent
dfca83b7b1
commit
8c4d6dd2a2
2 changed files with 1 additions and 3 deletions
|
@ -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))) {
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue