MDL-18412 - fixed incorrect config var name. thanks Anthony.
This commit is contained in:
+1
-1
@@ -419,7 +419,7 @@ function scorm_cron () {
|
||||
}
|
||||
|
||||
$timenow = time();
|
||||
$updatetime = usergetmidnight($timenow, $sitetimezone) + ($CFG->scorm_updatetime * 3600);
|
||||
$updatetime = usergetmidnight($timenow, $sitetimezone) + ($CFG->scorm_updatetimelast * 3600);
|
||||
|
||||
if ($CFG->scorm_updatetimelast < $updatetime and $timenow > $updatetime) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user