mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Added QUIZ_DEFAULT_SCORE ... later this will be a quiz option
This commit is contained in:
parent
9314930280
commit
c363d9d11f
@ -91,7 +91,7 @@
|
||||
}
|
||||
}
|
||||
$questions[] = $key;
|
||||
$modform->grades[$key] = 1; // default score
|
||||
$modform->grades[$key] = QUIZ_DEFAULT_SCORE;
|
||||
}
|
||||
}
|
||||
if (!empty($questions)) {
|
||||
|
@ -32,6 +32,8 @@ $QUIZ_FILE_FORMAT = array ( "custom" => get_string("custom", "quiz"),
|
||||
|
||||
define("QUIZ_PICTURE_DEFAULT_HEIGHT", "200");
|
||||
|
||||
define("QUIZ_DEFAULT_SCORE", "1");
|
||||
|
||||
/// FUNCTIONS ///////////////////////////////////////////////////////////////////
|
||||
|
||||
function quiz_add_instance($quiz) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user