Browse files

SCORM MDL-26942 remove empty file and add todo

  • Loading branch information...
1 parent db0a77c commit 27a9658f97c1551a021c3b6e2dd9c392496d59ee @danmarsden danmarsden committed Jul 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mod/scorm/datamodels/scormlib.php
View
1 mod/scorm/datamodels/scormlib.php
@@ -930,6 +930,7 @@ function scorm_get_toc($user,$scorm,$cmid,$toclink=TOCJSLINK,$currentorg='',$sco
require_once($CFG->dirroot.'/mod/scorm/datamodels/sequencinglib.php');
$prereq = scorm_seq_evaluate($sco->id,$usertracks);
} else {
+ //TODO: split check for sco->prerequisites only for AICC as I think that's the only case it's set.
$prereq = empty($sco->prerequisites) || scorm_eval_prerequisites($sco->prerequisites,$usertracks);
}
if ($prereq) {

0 comments on commit 27a9658

Please sign in to comment.