Skip to content

Commit

Permalink
Merge pull request #31 from wiris/v4.2.7
Browse files Browse the repository at this point in the history
Compatibility with Moodle 3.11
  • Loading branch information
ptorrent-at-wiris authored May 13, 2021
2 parents e4bcc5d + 10063b8 commit 7e17326
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions question.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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);
}


}
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

0 comments on commit 7e17326

Please sign in to comment.