Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove config hash update #564

Merged
merged 1 commit into from
Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
7 changes: 0 additions & 7 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down