Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CL-BayanAbuawad committed Aug 14, 2024
1 parent f26ee2c commit f05fd62
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### [v2024081400] - 2024-Aug-14
### [v2024081401] - 2024-Aug-14
- Support for duplicating, copying, and importing courses and modules within the same environment.
<br>

Expand Down
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 = 2024081400;
$version = 2024081401;
$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 @@ -508,7 +508,7 @@ function xmldb_plagiarism_copyleaks_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2024071800, 'plagiarism', 'copyleaks');
}

if ($oldversion < 2024081400) {
if ($oldversion < 2024081401) {
$table = new xmldb_table('plagiarism_copyleaks_cm_copy');

// Adding fields to table plagiarism_copyleaks_cm_copy.
Expand All @@ -529,7 +529,7 @@ function xmldb_plagiarism_copyleaks_upgrade($oldversion) {
}

// Copyleaks savepoint reached.
upgrade_plugin_savepoint(true, 2024081400, 'plagiarism', 'copyleaks');
upgrade_plugin_savepoint(true, 2024081401, 'plagiarism', 'copyleaks');
}

return true;
Expand Down
3 changes: 2 additions & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,9 @@ public function get_form_elements_module($mform, $context, $modulename = "") {
$btn = plagiarism_copyleaks_utils::get_copyleaks_analytics_button_link($cmid, $isanalyticsdisabled);
$mform->addElement('html', $btn);

$settingsdisplayed = true;
}

$settingsdisplayed = 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 = 2024081400;
$plugin->version = 2024081401;
$plugin->release = "3.5+";
$plugin->requires = 2018051700;
$plugin->component = 'plagiarism_copyleaks';
Expand Down

0 comments on commit f05fd62

Please sign in to comment.