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:
thepurpleblob
2007-01-05 11:56:57 +00:00
parent 4f98c4af52
commit b0679efa8f
+4 -1
View File
@@ -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;