From 2b9bcc5ece3884caf5d10714717a8984c660f3af Mon Sep 17 00:00:00 2001 From: John McGettrick Date: Mon, 30 Nov 2020 09:27:50 +0000 Subject: [PATCH] Remove config hash update due to conflict --- CHANGELOG.md | 9 +++++++++ db/upgrade.php | 7 ------- version.php | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dc44fa2..dc8a985c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +### Date: 2020-November-30 +### Release: 2020113001 + +#### :wrench: Fixes and enhancements + +Hotfix - removed update to config_hash field + +--- + ### Date: 2020-November-26 ### Release: 2020112601 diff --git a/db/upgrade.php b/db/upgrade.php index 0caf0226..7f7ddce7 100644 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -460,13 +460,6 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) { $dbman->change_field_default($table, $field); } - // Set config_hash to correct length - $table = new xmldb_table('plagiarism_turnitin_config'); - $field = new xmldb_field('config_hash', XMLDB_TYPE_CHAR, '255', null, XMLDB_NOTNULL, false, null, 'value'); - if ($dbman->field_exists($table, $field)) { - $dbman->change_field_precision($table, $field); - } - // Set turnitin_uid to allow null $field = new xmldb_field('turnitin_uid', XMLDB_TYPE_INTEGER, '10', null, false, false, null, 'userid'); if ($dbman->field_exists($table, $field)) { diff --git a/version.php b/version.php index 4030d9e4..4a549352 100644 --- a/version.php +++ b/version.php @@ -19,7 +19,7 @@ * @copyright 2012 iParadigms LLC */ -$plugin->version = 2020112601; +$plugin->version = 2020113001; $plugin->release = "3.5+"; $plugin->requires = 2018051700; $plugin->component = 'plagiarism_turnitin';