Skip to content
Browse files

MDL-30158 Questions Cleaning up blackboard/format.php

  • Loading branch information...
1 parent f08f22c commit 1ceb53f9458e60cf82b57030b8c6cfb2718a5f3e @ankitagarwal ankitagarwal committed Nov 8, 2011
Showing with 0 additions and 5 deletions.
  1. +0 −5 question/format/blackboard/format.php
View
5 question/format/blackboard/format.php
@@ -125,7 +125,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);
@@ -178,7 +177,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);
@@ -244,7 +242,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);
@@ -308,7 +305,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);
@@ -362,7 +358,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);

0 comments on commit 1ceb53f

Please sign in to comment.
Something went wrong with that request. Please try again.