]> git.mjollnir.org Git - moodle.git/commitdiff
Bug #6277 - Missed function renaming in question/format/multianswer. Merged from...
authortjhunt <tjhunt>
Thu, 17 Aug 2006 17:38:31 +0000 (17:38 +0000)
committertjhunt <tjhunt>
Thu, 17 Aug 2006 17:38:31 +0000 (17:38 +0000)
question/format/multianswer/format.php

index a168cc93d378bb5bbbba6e349a575603b76d016c..c627257f758cf1334e4ca43f7b04633aaecf5dec 100644 (file)
@@ -16,14 +16,14 @@ class qformat_multianswer extends qformat_default {
     }
 
     function readquestions($lines) {
-    /// Parses an array of lines into an array of questions.
-    /// For this class the method has been simplified as
-    /// there can never be more than one question for a
-    /// multianswer import
+        // Parses an array of lines into an array of questions.
+        // For this class the method has been simplified as
+        // there can never be more than one question for a
+        // multianswer import
 
         $questions= array();
-        $thequestion= quiz_qtype_multianswer_extract_question
-                            (addslashes(implode('',$lines)));
+        $thequestion= qtype_multianswer_extract_question(
+                addslashes(implode('',$lines)));
         $thequestion->qtype = MULTIANSWER;
         $thequestion->course = $this->course;