MDL-36580 backup: Use the encrypted_final_element for lti "secrets"
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Mon, 27 Jun 2016 01:28:53 +0000 (03:28 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 19 Oct 2017 08:11:47 +0000 (10:11 +0200)
mod/lti/backup/moodle2/backup_lti_stepslib.php

index 055a6ef..e6ad077 100644 (file)
@@ -84,6 +84,8 @@ class backup_lti_activity_structure_step extends backup_activity_structure_step
             'showdescriptionlaunch',
             'icon',
             'secureicon',
+            new encrypted_final_element('resourcekey'),
+            new encrypted_final_element('password'),
             )
         );