mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-36828' of https://github.com/aolley/moodle
This commit is contained in:
commit
fa18df40c1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user