Commit 311d8d72 authored by Petr Škoda's avatar Petr Škoda
Browse files

Merge pull request #3 from mylescarrick/4b76ec61

Pull request as at http://tracker.moodle.org/browse/CONTRIB-2916
parents 49ed0a26 4b76ec61
......@@ -35,7 +35,7 @@ class backup_book_activity_structure_step extends backup_activity_structure_step
// Define each element separated
$book = new backup_nested_element('book', array('id'), array('name', 'intro', 'introformat', 'numbering', 'customtitles', 'timecreated', 'timemodified'));
$chapters = new backup_nested_element('chapters');
$chapter = new backup_nested_element('chapter', array('id'), array('pagenum', 'subchapter', 'title', 'content', 'contentormat', 'hidden', 'timemcreated', 'timemodified', 'importsrc',));
$chapter = new backup_nested_element('chapter', array('id'), array('pagenum', 'subchapter', 'title', 'content', 'contentformat', 'hidden', 'timemcreated', 'timemodified', 'importsrc',));
$book->add_child($chapters);
$chapters->add_child($chapter);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment