Skip to content

Commit 1472921

Browse files
committed
Added fields to backup file (#684)
1 parent 8305d26 commit 1472921

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

backup/moodle2/backup_customcert_stepslib.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ protected function define_structure() {
4141
// The instance.
4242
$customcert = new backup_nested_element('customcert', ['id'], [
4343
'templateid', 'name', 'intro', 'introformat', 'requiredtime', 'verifyany',
44-
'deliveryoption', 'emailstudents', 'emailteachers', 'emailothers',
45-
'protection', 'language', 'timecreated', 'timemodified']);
44+
'deliveryoption', 'usecustomfilename', 'customfilenamepattern', 'emailstudents',
45+
'emailteachers', 'emailothers', 'protection', 'language', 'timecreated',
46+
'timemodified']);
4647

4748
// The template.
4849
$template = new backup_nested_element('template', ['id'], [

0 commit comments

Comments
 (0)