Permalink
Browse files

Merge branch 'MDL-37583' of git://github.com/timhunt/moodle

  • Loading branch information...
2 parents 59573bb + 283cbd8 commit 8b042b1cc82fcc7e1ba0422cd98ce8a0a869181a @nebgor nebgor committed Jan 22, 2013
Showing with 0 additions and 14 deletions.
  1. +0 −14 mod/quiz/report/statistics/report.php
@@ -318,20 +318,6 @@ protected function output_individual_question_data($quiz, $question) {
echo $OUTPUT->heading(get_string('questionstatistics', 'quiz_statistics'));
echo html_writer::table($questionstatstable);
}
- public function format_text($text, $format, $qa, $component, $filearea, $itemid,
- $clean = false) {
- $formatoptions = new stdClass();
- $formatoptions->noclean = !$clean;
- $formatoptions->para = false;
- $text = $qa->rewrite_pluginfile_urls($text, $component, $filearea, $itemid);
- return format_text($text, $format, $formatoptions);
- }
-
- /** @return the result of applying {@link format_text()} to the question text. */
- public function format_questiontext($qa) {
- return $this->format_text($this->questiontext, $this->questiontextformat,
- $qa, 'question', 'questiontext', $this->id);
- }
/**
* @param object $question question data.

0 comments on commit 8b042b1

Please sign in to comment.