Commit c1cd2924 authored by jun's avatar jun

Merge branch 'MDL-60914_master' of git://github.com/markn86/moodle

parents 5f54a876 2a56a82c
......@@ -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));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment