]> git.mjollnir.org Git - moodle.git/commitdiff
- Backing up new fields...
authorwillcast <willcast>
Sun, 19 Oct 2003 18:04:34 +0000 (18:04 +0000)
committerwillcast <willcast>
Sun, 19 Oct 2003 18:04:34 +0000 (18:04 +0000)
- No restoring yet... :(

mod/glossary/backuplib.php
mod/glossary/restorelib.php

index e44643139f2ee1db97584230e10e9e4845f708c1..306706509e07f60a9e45591f0b7103e14dd56835 100644 (file)
@@ -52,6 +52,7 @@
                 fwrite ($bf,full_tag("SHOWALPHABET",4,false,$glossary->showalphabet));
                 fwrite ($bf,full_tag("SHOWALL",4,false,$glossary->showall));
                 fwrite ($bf,full_tag("ALLOWCOMMENTS",4,false,$glossary->allowcomments));
+                fwrite ($bf,full_tag("USEDYNALINK",4,false,$glossary->usedynalink));
                 fwrite ($bf,full_tag("TIMECREATED",4,false,$glossary->timecreated));
                 fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$glossary->timemodified));
                 
                     fwrite ($bf,full_tag("FORMAT",6,false,$glo_ent->format));
                     fwrite ($bf,full_tag("ATTACHMENT",6,false,$glo_ent->attachment));
                     fwrite ($bf,full_tag("SOURCEGLOSSARYID",6,false,$glo_ent->sourceglossaryid));
+                    fwrite ($bf,full_tag("USEDYNALINK",4,false,$glo_ent->usedynalink));
+                    fwrite ($bf,full_tag("CASESENSITIVE",4,false,$glo_ent->casesensitive));
+                    fwrite ($bf,full_tag("FULLMATCH",4,false,$glo_ent->fullmatch));
                     fwrite ($bf,full_tag("TIMECREATED",6,false,$glo_ent->timecreated));
                     fwrite ($bf,full_tag("TIMEMODIFIED",6,false,$glo_ent->timemodified));
                     fwrite ($bf,full_tag("TEACHERENTRY",6,false,$glo_ent->teacherentry));
index 274fbb947f6995f284bfa4ec3571acafa10b4c27..993e38566cdf120550feb4099b1ed1bf82e6bb32 100644 (file)
@@ -50,6 +50,7 @@
             $glossary->showalphabet = backup_todb($info['MOD']['#']['SHOWALPHABET']['0']['#']);
             $glossary->showall = backup_todb($info['MOD']['#']['SHOWALL']['0']['#']);
             $glossary->allowcomments = backup_todb($info['MOD']['#']['ALLOWCOMMENTS']['0']['#']);
+            $glossary->usedynalink = backup_todb($info['MOD']['#']['USEDYNALINK']['0']['#']);
             $glossary->timecreated = backup_todb($info['MOD']['#']['TIMECREATED']['0']['#']);
             $glossary->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);
 
             $entry->format = backup_todb($ent_info['#']['FORMAT']['0']['#']);
             $entry->attachment = backup_todb($ent_info['#']['ATTACHMENT']['0']['#']);
             $entry->sourceglossaryid = backup_todb($ent_info['#']['SOURCEGLOSSARYID']['0']['#']);
+            $entry->usedynalink = backup_todb($ent_info['#']['USEDYNALINK']['0']['#']);
+            $entry->casesensitive = backup_todb($ent_info['#']['CASESENSITIVE']['0']['#']);
+            $entry->fullmatch = backup_todb($ent_info['#']['FULLMATCH']['0']['#']);
             $entry->timecreated = backup_todb($ent_info['#']['TIMECREATED']['0']['#']);
             $entry->timemodified = backup_todb($ent_info['#']['TIMEMODIFIED']['0']['#']);
             $entry->teacherentry = backup_todb($ent_info['#']['TEACHERENTRY']['0']['#']);