]> git.mjollnir.org Git - moodle.git/commitdiff
There was some random code between two functions definitions that was giving errors...
authortjhunt <tjhunt>
Tue, 5 Dec 2006 18:34:29 +0000 (18:34 +0000)
committertjhunt <tjhunt>
Tue, 5 Dec 2006 18:34:29 +0000 (18:34 +0000)
However, someone who understands SCORM should review this.

mod/scorm/restorelib.php

index 1f70be16bfc5f26dfb7262a28e3b85c2ceeefe80..40886dd27ab56fc2492892c6a527ac80453897c5 100755 (executable)
         return $status;
     }
 
-
-            $sco->prerequisites = backup_todb($sub_info['#']['PREREQUISITES']['0']['#']);
-            $sco->maxtimeallowed = backup_todb($sub_info['#']['MAXTIMEALLOWED']['0']['#']);
-            $sco->timelimitaction = backup_todb($sub_info['#']['TIMELIMITACTION']['0']['#']);
-            $sco->datafromlms = backup_todb($sub_info['#']['DATAFROMLMS']['0']['#']);
-            $sco->masteryscore = backup_todb($sub_info['#']['MASTERYSCORE']['0']['#']);
-            $sco->next = backup_todb($sub_info['#']['NEXT']['0']['#']);
-            $sco->previous = backup_todb($sub_info['#']['PREVIOUS']['0']['#']);
-
     //This function restores the scorm_scoes_track
     function scorm_scoes_tracks_restore_mods($scorm_id,$info,$restore) {