Permalink
Browse files

- Backup/restore of the new field entbypage

  • Loading branch information...
willcast
willcast committed Nov 17, 2003
1 parent dcae5a5 commit 5e3d1f59de6db15d2ce1bd1234e5839d417ed90e
Showing with 2 additions and 0 deletions.
  1. +1 −0 mod/glossary/backuplib.php
  2. +1 −0 mod/glossary/restorelib.php
@@ -55,6 +55,7 @@ function glossary_backup_mods($bf,$preferences) {
fwrite ($bf,full_tag("USEDYNALINK",4,false,$glossary->usedynalink));
fwrite ($bf,full_tag("DEFAULTAPPROVAL",4,false,$glossary->defaultapproval));
fwrite ($bf,full_tag("GLOBALGLOSSARY",4,false,$glossary->globalglossary));
+ fwrite ($bf,full_tag("ENTBYPAGE",4,false,$glossary->entbypage));
fwrite ($bf,full_tag("TIMECREATED",4,false,$glossary->timecreated));
fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$glossary->timemodified));
@@ -59,6 +59,7 @@ function glossary_restore_mods($mod,$restore) {
$glossary->usedynalink = backup_todb($info['MOD']['#']['USEDYNALINK']['0']['#']);
$glossary->defaultapproval = backup_todb($info['MOD']['#']['DEFAULTAPPROVAL']['0']['#']);
$glossary->globalglossary = backup_todb($info['MOD']['#']['GLOBALGLOSSARY']['0']['#']);
+ $glossary->entbypage = backup_todb($info['MOD']['#']['ENTBYPAGE']['0']['#']);
$glossary->timecreated = backup_todb($info['MOD']['#']['TIMECREATED']['0']['#']);
$glossary->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);

0 comments on commit 5e3d1f5

Please sign in to comment.