]> git.mjollnir.org Git - moodle.git/commitdiff
globalglossary is included now in backup/restore. :-)
authorstronk7 <stronk7>
Fri, 31 Oct 2003 08:47:03 +0000 (08:47 +0000)
committerstronk7 <stronk7>
Fri, 31 Oct 2003 08:47:03 +0000 (08:47 +0000)
mod/glossary/backuplib.php
mod/glossary/restorelib.php

index 50213525b51f1afd17f1421f311125d19420b349..03ce86b6b554fbb4d7cc6b030dfdbb86792238f3 100644 (file)
@@ -54,6 +54,7 @@
                 fwrite ($bf,full_tag("ALLOWCOMMENTS",4,false,$glossary->allowcomments));
                 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("TIMECREATED",4,false,$glossary->timecreated));
                 fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$glossary->timemodified));
                 
index b2b05b021434a1f78c4c9aefa9797f5f79954fe8..7d495a3efeb882a2cdfada60144c486ed0f9c8ae 100644 (file)
@@ -58,6 +58,7 @@
             $glossary->allowcomments = backup_todb($info['MOD']['#']['ALLOWCOMMENTS']['0']['#']);
             $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->timecreated = backup_todb($info['MOD']['#']['TIMECREATED']['0']['#']);
             $glossary->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);