Merge branch 'MDL-36828' of https://github.com/aolley/moodle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user