diff --git a/question.php b/question.php index 0d1fc7c..e0a8053 100644 --- a/question.php +++ b/question.php @@ -30,6 +30,8 @@ class qtype_essaywiris_question extends qtype_wq_question implements question_ma public $graderinfoformat; public $responsetemplate; public $responsetemplateformat; + public $maxbytes; + public $filetypeslist; public function join_all_text() { $text = parent::join_all_text(); @@ -74,4 +76,10 @@ public function is_complete_response(array $response) { } return $complete; } + + public function get_word_count_message_for_review(array $response): string { + return $this->base->get_word_count_message_for_review($response); + } + + } diff --git a/version.php b/version.php index 6ffd4c1..adc62a2 100644 --- a/version.php +++ b/version.php @@ -16,11 +16,11 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2021042100; -$plugin->release = '4.2.6'; +$plugin->version = 2021050700; +$plugin->release = '4.2.7'; $plugin->requires = 2011060313; $plugin->maturity = MATURITY_RC; $plugin->component = 'qtype_essaywiris'; $plugin->dependencies = array ( - 'qtype_wq' => 2021042100 + 'qtype_wq' => 2021050700 );