]> git.mjollnir.org Git - moodle.git/commitdiff
Now forum->maxbytes is supported in backup/restore.
authorstronk7 <stronk7>
Tue, 7 Oct 2003 12:02:19 +0000 (12:02 +0000)
committerstronk7 <stronk7>
Tue, 7 Oct 2003 12:02:19 +0000 (12:02 +0000)
mod/forum/backuplib.php
mod/forum/restorelib.php

index 055bab1ca8a4e4ce9343bc25298b8a2fe6d0c80a..c7945844f0e7b5b29f24018310f17ef175fb1bab 100644 (file)
@@ -53,6 +53,7 @@
                 fwrite ($bf,full_tag("ASSESSED",4,false,$forum->assessed));
                 fwrite ($bf,full_tag("ASSESSTIMESTART",4,false,$forum->assesstimestart));
                 fwrite ($bf,full_tag("ASSESSTIMEFINISH",4,false,$forum->assesstimefinish));
+                fwrite ($bf,full_tag("MAXBYTES",4,false,$forum->maxbytes));
                 fwrite ($bf,full_tag("SCALE",4,false,$forum->scale));
                 fwrite ($bf,full_tag("FORCESUBSCRIBE",4,false,$forum->forcesubscribe));
                 fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$forum->timemodified));
index 660b98e1bccc1e8b92a589b9023d8b59a2b1c363..e6ba310b93fdb2cc797bc18716eb41f58de27469 100644 (file)
@@ -56,6 +56,7 @@
             $forum->assessed = backup_todb($info['MOD']['#']['ASSESSED']['0']['#']);
             $forum->assesstimestart = backup_todb($info['MOD']['#']['ASSESSTIMESTART']['0']['#']);
             $forum->assesstimefinish = backup_todb($info['MOD']['#']['ASSESSTIMEFINISH']['0']['#']);
+            $forum->maxbytes = backup_todb($info['MOD']['#']['MAXBYTES']['0']['#']);
             $forum->scale = backup_todb($info['MOD']['#']['SCALE']['0']['#']);
             $forum->forcesubscribe = backup_todb($info['MOD']['#']['FORCESUBSCRIBE']['0']['#']);
             $forum->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);