MDL-37019 use suspend as default unenrol action for meta enrolments

This commit is contained in:
Petr Škoda
2013-01-12 16:29:12 +01:00
parent ca48fe5f97
commit 68527e9ef6
+1 -1
View File
@@ -39,6 +39,6 @@ if ($ADMIN->fulltree) {
$options = array(
ENROL_EXT_REMOVED_UNENROL => get_string('extremovedunenrol', 'enrol'),
ENROL_EXT_REMOVED_SUSPENDNOROLES => get_string('extremovedsuspendnoroles', 'enrol'));
$settings->add(new admin_setting_configselect('enrol_meta/unenrolaction', get_string('extremovedaction', 'enrol'), get_string('extremovedaction_help', 'enrol'), ENROL_EXT_REMOVED_UNENROL, $options));
$settings->add(new admin_setting_configselect('enrol_meta/unenrolaction', get_string('extremovedaction', 'enrol'), get_string('extremovedaction_help', 'enrol'), ENROL_EXT_REMOVED_SUSPENDNOROLES, $options));
}
}