mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 05:25:08 +02:00
MDL-37982 enrol_ims: No filters applied when inserting into DB
This commit is contained in:
parent
1dd6835d8c
commit
1f037b3776
@ -386,13 +386,6 @@ function process_group_tag($tagcontents) {
|
||||
$this->log_line('No ' . $imsname . ' description tag found for ' . $coursecode . ' coursecode, using ' . $coursecode . ' instead');
|
||||
$course->{$courseattr} = $coursecode;
|
||||
}
|
||||
|
||||
if ($courseattr == 'summary') {
|
||||
$format = FORMAT_HTML;
|
||||
} else {
|
||||
$format = FORMAT_PLAIN;
|
||||
}
|
||||
$course->{$courseattr} = format_text($course->$courseattr, $format);
|
||||
}
|
||||
|
||||
$course->idnumber = $coursecode;
|
||||
|
Loading…
x
Reference in New Issue
Block a user