From 4a4f96bd79ac406b1f08dd0f7f39beeef4f2f91c Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 7 Oct 2003 12:02:19 +0000 Subject: [PATCH] Now forum->maxbytes is supported in backup/restore. --- mod/forum/backuplib.php | 1 + mod/forum/restorelib.php | 1 + 2 files changed, 2 insertions(+) diff --git a/mod/forum/backuplib.php b/mod/forum/backuplib.php index 055bab1ca8..c7945844f0 100644 --- a/mod/forum/backuplib.php +++ b/mod/forum/backuplib.php @@ -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)); diff --git a/mod/forum/restorelib.php b/mod/forum/restorelib.php index 660b98e1bc..e6ba310b93 100644 --- a/mod/forum/restorelib.php +++ b/mod/forum/restorelib.php @@ -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']['#']); -- 2.39.5