From d90316ff6c5f066df2d29109959db5d4bacb5cbc Mon Sep 17 00:00:00 2001 From: Ankit Kumar Agarwal Date: Tue, 8 Nov 2011 07:45:48 +0530 Subject: [PATCH] MDL-30158 Questions Cleaning up blackboard/format.php --- question/format/blackboard/format.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/question/format/blackboard/format.php b/question/format/blackboard/format.php index b74b1505e77..78684aa09ef 100644 --- a/question/format/blackboard/format.php +++ b/question/format/blackboard/format.php @@ -107,7 +107,6 @@ function process_tf($xml, &$questions) { if ($ishtml) { $question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8'); } - $question->questiontext = $question->questiontext; // put name in question object $question->name = shorten_text($question->questiontext, 254); @@ -160,7 +159,6 @@ function process_mc($xml, &$questions) { if ($ishtml) { $question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8'); } - $question->questiontext = $question->questiontext; // put name of question in question object, careful of length $question->name = shorten_text($question->questiontext, 254); @@ -226,7 +224,6 @@ function process_ma($xml, &$questions) { if ($ishtml) { $question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8'); } - $question->questiontext = $question->questiontext; // put name of question in question object $question->name = shorten_text($question->questiontext, 254); @@ -290,7 +287,6 @@ function process_fib($xml, &$questions) { if ($ishtml) { $question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8'); } - $question->questiontext = $question->questiontext; // put name of question in question object $question->name = shorten_text($question->questiontext, 254); @@ -344,7 +340,6 @@ function process_matching($xml, &$questions) { if ($ishtml) { $question->questiontext = html_entity_decode(trim($thisquestion["#"]["BODY"][0]["#"]["TEXT"][0]["#"]),ENT_QUOTES,'UTF-8'); } - $question->questiontext = $question->questiontext; // put name of question in question object $question->name = shorten_text($question->questiontext, 254);