mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL_74310_master' of https://github.com/cengage/moodle
This commit is contained in:
commit
49cb3cbbef
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue