Merge branch 'MDL-46539-fix-28' of https://github.com/jmarthaler/moodle
This commit is contained in:
@@ -906,6 +906,8 @@ function assign_cron() {
|
||||
$class::cron();
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1601,7 +1601,7 @@ class assign {
|
||||
// Only ever send a max of one days worth of updates.
|
||||
$yesterday = time() - (24 * 3600);
|
||||
$timenow = time();
|
||||
$lastcron = $DB->get_field('modules', 'lastcron', array('name'=>'mod_assign'));
|
||||
$lastcron = $DB->get_field('modules', 'lastcron', array('name' => 'assign'));
|
||||
|
||||
// Collect all submissions from the past 24 hours that require mailing.
|
||||
// Submissions are excluded if the assignment is hidden in the gradebook.
|
||||
|
||||
Reference in New Issue
Block a user