Permalink
Browse files

merging from head so that calculated questions can be imported and ot…

…her improvments
  • Loading branch information...
1 parent 786542c commit 50067928964b0a26e24134c2861efed9e146c156 pichetp committed May 15, 2007
Showing with 218 additions and 90 deletions.
  1. +5 −0 question/format.php
  2. +213 −90 question/type/calculated/questiontype.php
View
@@ -252,6 +252,11 @@ function defaultquestion() {
$question->partiallycorrectfeedback = '';
$question->incorrectfeedback = '';
+ // this option in case the questiontypes class wants
+ // to know where the data came from
+ $question->export_process = true;
+ $question->import_process = true;
+
return $question;
}
Oops, something went wrong.

0 comments on commit 5006792

Please sign in to comment.