MDL-47276 quiz: change default for When time expires for new installs
authorTim Hunt <T.J.Hunt@open.ac.uk>
Wed, 17 Sep 2014 07:27:39 +0000 (08:27 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 19 Sep 2014 20:59:46 +0000 (21:59 +0100)
mod/quiz/settings.php

index 97a6a88..7cd8cff 100644 (file)
@@ -67,7 +67,7 @@ if ($ADMIN->fulltree) {
     // What to do with overdue attempts.
     $quizsettings->add(new mod_quiz_admin_setting_overduehandling('quiz/overduehandling',
             get_string('overduehandling', 'quiz'), get_string('overduehandling_desc', 'quiz'),
-            array('value' => 'autoabandon', 'adv' => false), null));
+            array('value' => 'autosubmit', 'adv' => false), null));
 
     // Grace period time.
     $quizsettings->add(new admin_setting_configtext_with_advanced('quiz/graceperiod',