MDL-47556 quiz: autosave should default to on for new installs

This commit is contained in:
Tim Hunt 2014-10-06 23:17:25 +01:00
parent 6597413d41
commit 24cfc09881

View File

@ -217,7 +217,7 @@ if ($ADMIN->fulltree) {
300 => get_string('numminutes', 'moodle', 5),
);
$quizsettings->add(new admin_setting_configselect('quiz/autosaveperiod',
get_string('autosaveperiod', 'quiz'), get_string('autosaveperiod_desc', 'quiz'), 0, $options));
get_string('autosaveperiod', 'quiz'), get_string('autosaveperiod_desc', 'quiz'), 120, $options));
}
// Now, depending on whether any reports have their own settings page, add