Add pptx checks

This commit is contained in:
Jane Adelmann 2022-09-26 13:40:25 +03:00
parent 09557e83eb
commit c071dae607
No known key found for this signature in database
GPG Key ID: 4CCF39DF30B8AF72
2 changed files with 9 additions and 9 deletions

View File

@ -603,13 +603,13 @@ class plagiarism_pchkorg_api_provider {
*/ */
public function is_supported_mime($mime) { public function is_supported_mime($mime) {
return in_array($mime, array( return in_array($mime, array(
'application/msword', 'application/msword',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'application/rtf', 'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'application/vnd.oasis.opendocument.text', 'application/rtf',
'text/plain', 'application/vnd.oasis.opendocument.text',
'plain/text', 'text/plain',
'application/pdf', 'application/pdf'
), true); ), true);
} }

View File

@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
if (!isset($plugin)) { if (!isset($plugin)) {
$plugin = new stdClass(); $plugin = new stdClass();
} }
$plugin->version = 2022072914; $plugin->version = 2022092613;
$plugin->requires = 2020061501; // Requires Moodle 3.9 . $plugin->requires = 2020061501; // Requires Moodle 3.9 .
$plugin->release = 'v3.10.2'; $plugin->release = 'v3.11.1';
$plugin->component = 'plagiarism_pchkorg'; $plugin->component = 'plagiarism_pchkorg';
$plugin->maturity = MATURITY_STABLE; $plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array( $plugin->dependencies = array(