Skip to content

Commit

Permalink
Merge pull request #64 from jonof/backup-restore-loses-fields
Browse files Browse the repository at this point in the history
preserve filename and metadata fields on backup/restore
  • Loading branch information
edalex-ian authored Mar 20, 2020
2 parents d5f2905 + 8109408 commit a6ba6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup/moodle2/backup_equella_stepslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class backup_equella_activity_structure_step extends backup_activity_structure_s
protected function define_structure() {
$equella = new backup_nested_element('equella',
array('id'),
array('course','name','intro','introformat','timecreated','timemodified','url','mimetype','popup','activation','uuid','version','path','attachmentuuid','ltisalt')
array('course','name','intro','introformat','timecreated','timemodified','url','mimetype','popup','activation','uuid','version','path','attachmentuuid','ltisalt','filename','metadata')
);
$equella->set_source_table('equella', array('id' => backup::VAR_ACTIVITYID));
$equella->annotate_files('mod_equella', 'intro', null);
Expand Down

0 comments on commit a6ba6a0

Please sign in to comment.