Skip to content

Commit

Permalink
MDL-18412 - fixed incorrect config var name. thanks Anthony.
Browse files Browse the repository at this point in the history
  • Loading branch information
piers committed Mar 2, 2009
1 parent 074b6db commit 8f54bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/lib.php
Expand Up @@ -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) {

Expand Down

0 comments on commit 8f54bec

Please sign in to comment.