From 42f58d99f9aaf4668bcc86e7fd76e335c3582dfc Mon Sep 17 00:00:00 2001 From: Simey Lameze <simey@moodle.com> Date: Wed, 27 Mar 2019 11:37:01 +0800 Subject: [PATCH] MDL-65051 core: delete duplicated plagiarism_cron() --- plagiarism/lib.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/plagiarism/lib.php b/plagiarism/lib.php index 9cfd91d0bc7..c86c5da34bb 100644 --- a/plagiarism/lib.php +++ b/plagiarism/lib.php @@ -97,17 +97,4 @@ abstract class plagiarism_plugin { */ 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); - } }