Skip to content

Commit

Permalink
Related to MDL-6489 - advanced search template was missing in backup/…
Browse files Browse the repository at this point in the history
…restore ; merged from 19_STABLE
  • Loading branch information
stronk7 committed Dec 18, 2009
1 parent a1b4e1f commit f12c957
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mod/data/backuplib.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function data_backup_one_mod($bf,$preferences,$data) {
fwrite ($bf,full_tag("RSSTITLETEMPLATE",4,false,$data->rsstitletemplate));
fwrite ($bf,full_tag("CSSTEMPLATE",4,false,$data->csstemplate));
fwrite ($bf,full_tag("JSTEMPLATE",4,false,$data->jstemplate));
fwrite ($bf,full_tag("ASEARCHTEMPLATE",4,false,$data->asearchtemplate));
fwrite ($bf,full_tag("APPROVAL",4,false,$data->approval));
fwrite ($bf,full_tag("SCALE",4,false,$data->scale));
fwrite ($bf,full_tag("ASSESSED",4,false,$data->assessed));
Expand Down
1 change: 1 addition & 0 deletions mod/data/restorelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function data_restore_mods($mod,$restore) {
$database->rsstitletemplate = backup_todb($info['MOD']['#']['RSSTITLETEMPLATE']['0']['#']);
$database->csstemplate = backup_todb($info['MOD']['#']['CSSTEMPLATE']['0']['#']);
$database->jstemplate = backup_todb($info['MOD']['#']['JSTEMPLATE']['0']['#']);
$database->asearchtemplate = backup_todb($info['MOD']['#']['ASEARCHTEMPLATE']['0']['#']);
$database->approval = backup_todb($info['MOD']['#']['APPROVAL']['0']['#']);
$database->scale = backup_todb($info['MOD']['#']['SCALE']['0']['#']);
$database->assessed = backup_todb($info['MOD']['#']['ASSESSED']['0']['#']);
Expand Down

0 comments on commit f12c957

Please sign in to comment.