From ce97cd44e4a93cf9dc877620913c3eaa68cb0979 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Wed, 20 Feb 2019 14:41:44 +0800 Subject: [PATCH] MDL-64880 mod_wiki: remove useless wiki_cron() function --- mod/wiki/lib.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mod/wiki/lib.php b/mod/wiki/lib.php index 3634cb1be24..c4eee0697cc 100644 --- a/mod/wiki/lib.php +++ b/mod/wiki/lib.php @@ -347,20 +347,6 @@ function wiki_print_recent_activity($course, $viewfullnames, $timestart) { return true; // True if anything was printed, otherwise false } -/** - * Function to be run periodically according to the moodle cron - * This function searches for things that need to be done, such - * as sending out mail, toggling flags etc ... - * - * @uses $CFG - * @return boolean - * @todo Finish documenting this function - **/ -function wiki_cron() { - global $CFG; - - return true; -} /** * Must return an array of grades for a given instance of this module,