Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37176d2
)
SCORM MDL-22168 fix accidental revert - set start time of SCO correctly
author
Dan Marsden
<Dan@digitalclay.co.nz>
Thu, 24 Jun 2010 00:48:48 +0000
(
00:48
+0000)
committer
Dan Marsden
<Dan@digitalclay.co.nz>
Thu, 24 Jun 2010 00:48:48 +0000
(
00:48
+0000)
mod/scorm/loaddatamodel.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/scorm/loaddatamodel.php
b/mod/scorm/loaddatamodel.php
index
6e9173a
..
73ebd04
100644
(file)
--- a/
mod/scorm/loaddatamodel.php
+++ b/
mod/scorm/loaddatamodel.php
@@
-86,6
+86,8
@@
} else {
include($CFG->dirroot.'/mod/scorm/datamodels/scorm_12.js.php');
}
+ // set the start time of this SCO
+ scorm_insert_track($USER->id,$scorm->id,$scoid,$attempt,'x.start.time',time());
?>
var errorCode = "0";