MDL-38633 folder: support show_expanded in backup.
[moodle.git] / mod / folder / backup / moodle2 / backup_folder_stepslib.php
index a7bb672..6b57143 100644 (file)
@@ -39,7 +39,7 @@ class backup_folder_activity_structure_step extends backup_activity_structure_st
         // Define each element separated
         $folder = new backup_nested_element('folder', array('id'), array(
             'name', 'intro', 'introformat', 'revision',
-            'timemodified', 'display'));
+            'timemodified', 'display', 'show_expanded'));
 
         // Build the tree
         // (nice mono-tree, lol)