MDL-14074 removed obsoleted $CFG->enablerecordcache = true
This commit is contained in:
@@ -2053,8 +2053,6 @@ function assignment_cron () {
|
||||
|
||||
if ($submissions = assignment_get_unmailed_submissions($starttime, $endtime)) {
|
||||
|
||||
$CFG->enablerecordcache = true; // We want all the caching we can get
|
||||
|
||||
$realuser = clone($USER);
|
||||
|
||||
foreach ($submissions as $key => $submission) {
|
||||
|
||||
@@ -171,8 +171,6 @@ function workshop_cron () {
|
||||
}
|
||||
}
|
||||
$timenow = time();
|
||||
|
||||
$CFG->enablerecordcache = true; // We want all the caching we can get
|
||||
|
||||
// Find all workshop notifications that have yet to be mailed out, and mails them
|
||||
$cutofftime = $timenow - $CFG->maxeditingtime;
|
||||
|
||||
Reference in New Issue
Block a user