mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-65050 core: delete orphaned files and functions
This commit is contained in:
parent
9c164d26fc
commit
d499cb3593
3 changed files with 4 additions and 131 deletions
|
@ -408,21 +408,6 @@ abstract class question_bank {
|
|||
return self::$fractionoptionsfull;
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform scheduled maintenance tasks relating to the question bank.
|
||||
*/
|
||||
public static function cron() {
|
||||
global $CFG;
|
||||
|
||||
// Delete any old question preview that got left in the database.
|
||||
require_once($CFG->dirroot . '/question/previewlib.php');
|
||||
question_preview_cron();
|
||||
|
||||
// Clear older calculated stats from cache.
|
||||
require_once($CFG->dirroot . '/question/engine/statisticslib.php');
|
||||
question_usage_statistics_cron();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a list of the different question types present in the given categories.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue