diff --git a/mod/lti/backup/moodle2/backup_lti_stepslib.php b/mod/lti/backup/moodle2/backup_lti_stepslib.php index ae211860f3da2..317c27d3cc44a 100644 --- a/mod/lti/backup/moodle2/backup_lti_stepslib.php +++ b/mod/lti/backup/moodle2/backup_lti_stepslib.php @@ -213,7 +213,6 @@ protected function define_structure() { // Add support for subplugin structures. $this->add_subplugin_structure('ltisource', $lti, true); - $this->add_subplugin_structure('ltiservice', $lti, true); // Return the root element (lti), wrapped into standard activity structure. return $this->prepare_activity_structure($lti); diff --git a/mod/lti/backup/moodle2/restore_lti_stepslib.php b/mod/lti/backup/moodle2/restore_lti_stepslib.php index 05bec128fe334..6d6d793a5b21e 100644 --- a/mod/lti/backup/moodle2/restore_lti_stepslib.php +++ b/mod/lti/backup/moodle2/restore_lti_stepslib.php @@ -82,7 +82,6 @@ protected function define_structure() { // Add support for subplugin structures. $this->add_subplugin_structure('ltisource', $lti); - $this->add_subplugin_structure('ltiservice', $lti); // Return the paths wrapped into standard activity structure. return $this->prepare_activity_structure($paths); diff --git a/mod/lti/db/subplugins.json b/mod/lti/db/subplugins.json index 35f0d1684f6c9..e31abc2eb16c7 100644 --- a/mod/lti/db/subplugins.json +++ b/mod/lti/db/subplugins.json @@ -1,6 +1,8 @@ { "plugintypes": { - "ltisource": "mod\/lti\/source", + "ltisource": "mod\/lti\/source" + }, + "deprecatedplugintypes": { "ltiservice": "mod\/lti\/service" } }