From: stronk7 Date: Fri, 23 Jul 2004 17:10:55 +0000 (+0000) Subject: User->maildigest supported now. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=27757bee579ad49fe57f4a00edf5042d04154e04;p=moodle.git User->maildigest supported now. --- diff --git a/backup/backuplib.php b/backup/backuplib.php index d233658334..40b7a17a08 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -748,6 +748,7 @@ fwrite ($bf,full_tag("URL",4,false,$user_data->url)); fwrite ($bf,full_tag("DESCRIPTION",4,false,$user_data->description)); fwrite ($bf,full_tag("MAILFORMAT",4,false,$user_data->mailformat)); + fwrite ($bf,full_tag("MAILDIGEST",4,false,$user_data->maildigest)); fwrite ($bf,full_tag("MAILDISPLAY",4,false,$user_data->maildisplay)); fwrite ($bf,full_tag("HTMLEDITOR",4,false,$user_data->htmleditor)); fwrite ($bf,full_tag("AUTOSUBSCRIBE",4,false,$user_data->autosubscribe)); diff --git a/backup/restorelib.php b/backup/restorelib.php index 4821be728a..90a932f780 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -2505,6 +2505,9 @@ case "MAILFORMAT": $this->info->tempuser->mailformat = $this->getContents(); break; + case "MAILDIGEST": + $this->info->tempuser->maildigest = $this->getContents(); + break; case "MAILDISPLAY": $this->info->tempuser->maildisplay = $this->getContents(); break; diff --git a/backup/version.php b/backup/version.php index a773093446..196afe2175 100644 --- a/backup/version.php +++ b/backup/version.php @@ -5,6 +5,6 @@ // database (backup_version) to determine whether upgrades should // be performed (see db/backup_*.php) -$backup_version = 2004071600; // The current version is a date (YYYYMMDDXX) +$backup_version = 2004072300; // The current version is a date (YYYYMMDDXX) $backup_release = "1.4 development"; // User-friendly version number