From a637a0a8c067cc8e0a8866513ba55b712e2f9af3 Mon Sep 17 00:00:00 2001 From: David Winn Date: Wed, 21 Sep 2022 18:07:02 +0100 Subject: [PATCH] Release v2022092101 --- CHANGELOG.md | 11 +++++++++++ lib.php | 1 - version.php | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 086839d..18c90d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### Date: 2022-September-21 +### Release: v2022092101 + +#### :wrench: Fixes and enhancements + +#### Fixed a bug that would show instructors a resubmit button when an unsupported file type was submitted + +Previously, if a student submitted an unsupported file type to a Moodle assignment, a Resubmit to Turnitin button would still appear for the instructor. This has now been fixed and the option to re-submit an unsupported file type has been removed. + +--- + ### Date: 2021-May-13 ### Release: v2022051301 diff --git a/lib.php b/lib.php index bad4012..46468b1 100644 --- a/lib.php +++ b/lib.php @@ -336,7 +336,6 @@ public function get_links($linkarray) { $statusstring = "submissiondisplaystatus:error"; if ($submission->geterrormessage() == TURNITINSIM_SUBMISSION_STATUS_CANNOT_EXTRACT_TEXT) { $statusstring = 'submissiondisplaystatus:' . $errorstrsuffix; - $showresubmitlink = true; } $status = html_writer::tag('span', get_string($statusstring, 'plagiarism_turnitinsim'), array('class' => 'tii_status_text')); diff --git a/version.php b/version.php index f270197..eb8d711 100644 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2022051301; +$plugin->version = 2022092101; $plugin->release = "v1.2"; $plugin->requires = 2017051500; $plugin->component = 'plagiarism_turnitinsim';