Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
CL-BayanAbuawad committed Oct 20, 2024
1 parent 3883ea8 commit 93e6410
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 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 = 2024091200;
$version = 2024102001;
$headers = (array)[
'Content-Type' => $contenttype,
'Plugin-Version' => "$version"
Expand Down
9 changes: 0 additions & 9 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,15 +377,6 @@ public function update_status($course, $cm) {
}
}

/**
* This enables a plugin to insert a chunk of html at the start of the html document.
* Typical use cases include some sort of alert notification, but in many cases the Notifications may be a better fit.
* It MUST return a string containing a well formed chunk of html, or at minimum an empty string.
*/
function plagiarism_copyleaks_before_standard_top_of_body_html() {
return "";
}

/**
* Add the Copyleaks settings form to an add/edit activity page.
*
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 = 2024091200;
$plugin->version = 2024102001;
$plugin->release = "3.5+";
$plugin->requires = 2018051700;
$plugin->component = 'plagiarism_copyleaks';
Expand Down

0 comments on commit 93e6410

Please sign in to comment.