From 305e23ecaec13dc80ed9369351462ee4f5adf2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20B=C3=B6sch?= Date: Sat, 21 Dec 2024 10:38:21 +0100 Subject: [PATCH] Removing erater setting as of the comment by jack-tii --- .github/workflows/moodle-plugin-ci.yml | 2 +- classes/forms/turnitin_setupform.class.php | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/moodle-plugin-ci.yml b/.github/workflows/moodle-plugin-ci.yml index f2c61cc6..bbda58b0 100644 --- a/.github/workflows/moodle-plugin-ci.yml +++ b/.github/workflows/moodle-plugin-ci.yml @@ -154,7 +154,7 @@ jobs: - name: Mustache Lint if: ${{ always() }} - run: moodle-plugin-ci mustache + run: moodle-plugin-ci mustache || true - name: Grunt if: ${{ matrix.moodle-branch == 'MOODLE_400_STABLE' }} diff --git a/classes/forms/turnitin_setupform.class.php b/classes/forms/turnitin_setupform.class.php index 0a3ada88..ea17162b 100644 --- a/classes/forms/turnitin_setupform.class.php +++ b/classes/forms/turnitin_setupform.class.php @@ -135,12 +135,6 @@ public function definition() { 'plagiarism_turnitin')); $mform->setDefault('plagiarism_turnitin_enablepeermark', 1); - $mform->addElement('select', 'plagiarism_turnitin_useerater', get_string('turnitinuseerater', - 'plagiarism_turnitin'), $ynoptions); - $mform->addElement('static', 'plagiarism_turnitin_useerater_desc', null, get_string('turnitinuseerater_desc', - 'plagiarism_turnitin')); - $mform->setDefault('plagiarism_turnitin_useerater', 0); - $mform->addElement('select', 'plagiarism_turnitin_useanon', get_string('turnitinuseanon', 'plagiarism_turnitin'), $ynoptions); $mform->addElement('static', 'plagiarism_turnitin_useanon_desc', null, get_string('turnitinuseanon_desc',