Skip to content

Commit c825826

Browse files
Merge pull request #596 from turnitin/develop
Release 2021081301
2 parents 802e09e + e23838e commit c825826

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
### Date: 2021-August-13
2+
### Release: 2021081301
3+
4+
#### :wrench: Fixes and enhancements
5+
6+
####Classes will create successfully
7+
A bug potentially resulted in classes created in Moodle to not sync correctly when we tried to create them in Turnitin. We’ve fixed this problem and you will now be able to create classes again.
8+
19
### Date: 2021-June-08
210
### Release: 2021060801
311

db/upgrade.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -489,15 +489,15 @@ function xmldb_plagiarism_turnitin_upgrade($oldversion) {
489489
upgrade_plugin_savepoint(true, 2020091401, 'plagiarism', 'turnitin');
490490
}
491491

492-
if ($oldversion < 2021060801) {
492+
if ($oldversion < 2021081301) {
493493

494494
$table = new xmldb_table('plagiarism_turnitin_courses');
495495
$field = new xmldb_field('ownerid');
496-
if (!$dbman->field_exists($table, $field)) {
496+
if ($dbman->field_exists($table, $field)) {
497497
$dbman->drop_field($table, $field);
498498
}
499499

500-
upgrade_plugin_savepoint(true, 2021060801, 'plagiarism', 'turnitin');
500+
upgrade_plugin_savepoint(true, 2021081301, 'plagiarism', 'turnitin');
501501
}
502502

503503
return $result;

version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @copyright 2012 iParadigms LLC
2020
*/
2121

22-
$plugin->version = 2021060801;
22+
$plugin->version = 2021081301;
2323
$plugin->release = "3.5+";
2424
$plugin->requires = 2018051700;
2525
$plugin->component = 'plagiarism_turnitin';

0 commit comments

Comments
 (0)