mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-60914_master' of git://github.com/markn86/moodle
This commit is contained in:
commit
c1cd2924ec
@ -143,6 +143,8 @@ function xmldb_lti_upgrade($oldversion) {
|
||||
}
|
||||
|
||||
if (!$acceptgrades) {
|
||||
// Required when doing CLI upgrade.
|
||||
require_once($CFG->libdir . '/gradelib.php');
|
||||
grade_update('mod/lti', $lti->course, 'mod', 'lti', $lti->id, 0, null, array('deleted' => 1));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user