This commit is contained in:
Dan Poltawski 2012-12-11 11:44:11 +08:00
commit fa18df40c1

View File

@ -278,8 +278,6 @@ function scorm_delete_instance($id) {
}
}
$DB->delete_records('scorm_scoes', array('scorm'=>$scorm->id));
} else {
$result = false;
}
if (! $DB->delete_records('scorm', array('id'=>$scorm->id))) {
$result = false;