Skip to content

Commit

Permalink
MDL-13904 Scorm structure isn't respected after an update of the pack…
Browse files Browse the repository at this point in the history
…age. Incorrectly named table in a delete.
  • Loading branch information
piers committed Aug 15, 2008
1 parent 7f4a329 commit 773c264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/scorm/datamodels/scormlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ function scorm_parse_scorm($pkgdir,$scormid) {
$DB->delete_records('scorm_seq_ruleconds', array('scoid'=>$olditem->id));
$DB->delete_records('scorm_seq_rulecond', array('scoid'=>$olditem->id));
$DB->delete_records('scorm_seq_rolluprule', array('scoid'=>$olditem->id));
$DB->delete_records('scorm_seq_rollupcond', array('scoid'=>$olditem->id));
$DB->delete_records('scorm_seq_rolluprulecond', array('scoid'=>$olditem->id));
}
}
$DB->set_field('scorm','version',$scoes->version, array('id'=>$scormid));
Expand Down

0 comments on commit 773c264

Please sign in to comment.