From 283cbd825c231f641fbee6f9ffa91d35a390192d Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Fri, 18 Jan 2013 14:43:17 +0000 Subject: [PATCH] MDL-37583 quiz statistics report. Delete junk code. --- mod/quiz/report/statistics/report.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mod/quiz/report/statistics/report.php b/mod/quiz/report/statistics/report.php index e3153a17b24..244d82d4e84 100644 --- a/mod/quiz/report/statistics/report.php +++ b/mod/quiz/report/statistics/report.php @@ -318,20 +318,6 @@ class quiz_statistics_report extends quiz_default_report { 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.