mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-50525' of https://github.com/andrewhancox/moodle
This commit is contained in:
commit
50834fa15f
@ -175,6 +175,16 @@ if ($ADMIN->fulltree) {
|
||||
$setting->set_locked_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$settings->add($setting);
|
||||
|
||||
$name = new lang_string('preventsubmissionnotingroup', 'mod_assign');
|
||||
$description = new lang_string('preventsubmissionnotingroup_help', 'mod_assign');
|
||||
$setting = new admin_setting_configcheckbox('assign/preventsubmissionnotingroup',
|
||||
$name,
|
||||
$description,
|
||||
0);
|
||||
$setting->set_advanced_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$setting->set_locked_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$settings->add($setting);
|
||||
|
||||
$name = new lang_string('requireallteammemberssubmit', 'mod_assign');
|
||||
$description = new lang_string('requireallteammemberssubmit_help', 'mod_assign');
|
||||
$setting = new admin_setting_configcheckbox('assign/requireallteammemberssubmit',
|
||||
@ -252,16 +262,6 @@ if ($ADMIN->fulltree) {
|
||||
$setting->set_advanced_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$setting->set_locked_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$settings->add($setting);
|
||||
|
||||
$name = new lang_string('preventsubmissionnotingroup', 'mod_assign');
|
||||
$description = new lang_string('preventsubmissionnotingroup_help', 'mod_assign');
|
||||
$setting = new admin_setting_configcheckbox('assign/preventsubmissionnotingroup',
|
||||
$name,
|
||||
$description,
|
||||
0);
|
||||
$setting->set_advanced_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$setting->set_locked_flag_options(admin_setting_flag::ENABLED, false);
|
||||
$settings->add($setting);
|
||||
}
|
||||
|
||||
$ADMIN->add('modassignfolder', $settings);
|
||||
|
Loading…
x
Reference in New Issue
Block a user