Skip to content

Commit

Permalink
MDL-65051 core: delete duplicated plagiarism_cron()
Browse files Browse the repository at this point in the history
  • Loading branch information
lameze committed Mar 27, 2019
1 parent 39802ea commit 42f58d9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions plagiarism/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,17 +97,4 @@ public function print_disclosure($cmid) {
*/
public function update_status($course, $cm) {
}

/**
* Deprecated cron method.
*
* This method was added by mistake in the previous versions of Moodle, do not override it since it is never called.
* To implement cron you need to register a scheduled task, see https://docs.moodle.org/dev/Task_API.
* For backward compatibility with the old cron API the method cron() from this class can also be used.
*
* @deprecated since Moodle 3.1 MDL-52702 - please use scheduled tasks instead.
*/
public function plagiarism_cron() {
debugging('plagiarism_plugin::plagiarism_cron() is deprecated. Please use scheduled tasks instead', DEBUG_DEVELOPER);
}
}

0 comments on commit 42f58d9

Please sign in to comment.