From 1f037b3776f4ce5a7c00881ca3dc2136b1a98f2a Mon Sep 17 00:00:00 2001 From: David Monllao Date: Tue, 12 Feb 2013 15:04:04 +0800 Subject: [PATCH] MDL-37982 enrol_ims: No filters applied when inserting into DB --- enrol/imsenterprise/lib.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/enrol/imsenterprise/lib.php b/enrol/imsenterprise/lib.php index 401d11a666aeb..8198f4b4074a1 100644 --- a/enrol/imsenterprise/lib.php +++ b/enrol/imsenterprise/lib.php @@ -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;