Commit 41f04955 authored by David Monllaó's avatar David Monllaó
Browse files

Merge branch 'MDL-50920-2.8' of git://github.com/sk-unikent/moodle into MOODLE_28_STABLE

parents f1b608bb 50b2135b
......@@ -192,9 +192,6 @@ class enrol_meta_observer extends enrol_meta_handler {
}
foreach ($enrols as $enrol) {
$enrol->customint = 0;
$DB->update_record('enrol', $enrol);
if ($unenrolaction == ENROL_EXT_REMOVED_SUSPEND or $unenrolaction == ENROL_EXT_REMOVED_SUSPENDNOROLES) {
// This makes all enrolments suspended very quickly.
$plugin->update_status($enrol, ENROL_INSTANCE_DISABLED);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment