From: pichetp Date: Fri, 9 Mar 2007 05:50:55 +0000 (+0000) Subject: merging from 18 STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=fde0ef3922ae9d1266a66d4e2be0e927ef7dfd10;p=moodle.git merging from 18 STABLE --- diff --git a/question/format/webct/format.php b/question/format/webct/format.php index 104f765b73..8e6ecd6fe5 100644 --- a/question/format/webct/format.php +++ b/question/format/webct/format.php @@ -246,7 +246,6 @@ class qformat_webct extends qformat_default { } function readquestions ($lines) { - $qtypecalculated = new qformat_webct_modified_calculated_qtype(); $webctnumberregex = '[+-]?([0-9]+(\\.[0-9]*)?|\\.[0-9]+)((e|E|\\*10\\*\\*)([+-]?[0-9]+|\\([+-]?[0-9]+\\)))?'; @@ -264,7 +263,6 @@ class qformat_webct extends qformat_default { $lines[] = ":EOF:"; // for an easiest processing of the last line // $question = $this->defaultquestion(); - foreach ($lines as $line) { $nLineCounter++; $line = iconv("Windows-1252","UTF-8",$line);