Merge branch 'MDL_74310_400' of https://github.com/cengage/moodle into MOODLE_400_STABLE
This commit is contained in:
+4
@@ -93,6 +93,10 @@ class restore_ltiservice_gradebookservices_subplugin extends restore_subplugin {
|
||||
$newtoolproxyid = null;
|
||||
}
|
||||
if ($data->ltilinkid != null) {
|
||||
if ($data->ltilinkid != $this->get_old_parentid('lti')) {
|
||||
// This is a linked item, but not for the current lti link, so skip it.
|
||||
return;
|
||||
}
|
||||
$ltilinkid = $this->get_new_parentid('lti');
|
||||
} else {
|
||||
$ltilinkid = null;
|
||||
|
||||
Reference in New Issue
Block a user