MDL-16644 removing stripslahses() and friends

This commit is contained in:
skodak 2008-09-23 21:15:41 +00:00
parent decf9db153
commit 4370f063b3
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@
$value .= $datarow;
next($datarows);
}
$value = rawurlencode(stripslashes($value));
$value = rawurlencode($value);
$id = scorm_insert_track($USER->id, $scorm->id, $sco->id, $attempt, $element, $value);
}
}

View File

@ -288,7 +288,7 @@ function handle_questions_media(&$questions, $path, $courseid) {
// results are first written into string (and then to a file)
$count++;
echo "<hr /><p><b>$count</b>. ".stripslashes($question->questiontext)."</p>";
echo "<hr /><p><b>$count</b>. ".$question->questiontext."</p>";
$expout = $this->writequestion( $question , null, true, $path) . "\n";
$expout = $this->presave_process( $expout );