Skip to content

Commit

Permalink
Merge pull request #27 from turnitin/develop
Browse files Browse the repository at this point in the history
Release 2020032404
  • Loading branch information
dwinn authored Mar 24, 2020
2 parents 6ed29ae + c8d092e commit 2ba4cc8
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) {
}

// This block will rename database fields that have underscores.
if ($oldversion < 2020032403) {
if ($oldversion < 2020032404) {
$table = new xmldb_table('plagiarism_turnitinsim_sub');

$field = new xmldb_field('submitted_time', XMLDB_TYPE_INTEGER, '10', null, false, null, null, 'type');
Expand Down Expand Up @@ -253,7 +253,7 @@ function xmldb_plagiarism_turnitinsim_upgrade($oldversion) {
$dbman->rename_field($table, $field, 'requestedtime');
}

upgrade_plugin_savepoint(true, 2020032403, 'plagiarism', 'turnitinsim');
upgrade_plugin_savepoint(true, 2020032404, 'plagiarism', 'turnitinsim');
}

return true;
Expand Down
18 changes: 18 additions & 0 deletions templates/modal_eula.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@
@template plagiarism_turnitinsim/modal_eula
Shown for a user to accept or decline the EULA.
Classes required for JS:
* none
Data attributes required for JS:
* none
Context variables required for this template:
* title Content for the title
* body Content for the body
* footer Content for the footer
Example context (json):
{
"title": "Example modal",
"body": "Some example content for the body",
"footer": "Accept, decline buttons."
}
}}
{{< core/modal }}
{{$title}}{{# str }} eulaheader, plagiarism_turnitinsim {{/ str }}{{/title}}
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2020032403;
$plugin->version = 2020032404;
$plugin->release = "v1.0";
$plugin->requires = 2017051500;
$plugin->component = 'plagiarism_turnitinsim';
Expand Down

0 comments on commit 2ba4cc8

Please sign in to comment.