MDL-6769 and http://moodle.org/mod/forum/discuss.php?d=60209 the default for shuffleanswers is now set to the configured value.
This commit is contained in:
+4
-1
@@ -1,3 +1,4 @@
|
||||
|
||||
<?php // $Id$
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
@@ -230,8 +231,10 @@ class qformat_default {
|
||||
// Somewhere to specify question parameters that are not handled
|
||||
// by import but are required db fields.
|
||||
// This should not be overridden.
|
||||
global $CFG;
|
||||
|
||||
$question = new stdClass();
|
||||
$question->shuffleanswers = 0;
|
||||
$question->shuffleanswers = $CFG->quiz_shuffleanswers;
|
||||
$question->defaultgrade = 1;
|
||||
$question->image = "";
|
||||
$question->usecase = 0;
|
||||
|
||||
Reference in New Issue
Block a user