Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
CL-BayanAbuawad committed Jul 18, 2024
1 parent 8eec7dc commit 781c2b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion classes/plagiarism_copyleaks_httpclient.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static function execute(
)
);

$version = 2024060401;
$version = 2024071800;
$headers = (array)[
'Content-Type' => $contenttype,
'Plugin-Version' => "$version"
Expand Down
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function xmldb_plagiarism_copyleaks_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2024041700, 'plagiarism', 'copyleaks');
}

if ($oldversion < 2024070700) {
if ($oldversion < 2024071800) {
$table = new xmldb_table('plagiarism_copyleaks_files');
$hashedcontentfield = new xmldb_field('hashedcontent', XMLDB_TYPE_CHAR, '255', null, false, null, null, 'identifier');

Expand All @@ -505,7 +505,7 @@ function xmldb_plagiarism_copyleaks_upgrade($oldversion) {
}

// Copyleaks savepoint reached.
upgrade_plugin_savepoint(true, 2024070700, 'plagiarism', 'copyleaks');
upgrade_plugin_savepoint(true, 2024071800, 'plagiarism', 'copyleaks');
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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

$plugin->version = 2024070800;
$plugin->version = 2024071800;
$plugin->release = "3.5+";
$plugin->requires = 2018051700;
$plugin->component = 'plagiarism_copyleaks';
Expand Down

0 comments on commit 781c2b5

Please sign in to comment.