MDL-14074 removed obsoleted $CFG->enablerecordcache = true

This commit is contained in:
skodak
2008-03-27 08:35:34 +00:00
parent f44721b9f7
commit 07c2d960d0
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -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) {
-2
View File
@@ -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;