From: stronk7 Date: Thu, 29 Jan 2004 00:07:25 +0000 (+0000) Subject: Now groups are included in scheduled backups. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e9163ad4814f5928e03d6f60d8f0243be51ede3b;p=moodle.git Now groups are included in scheduled backups. I think that we should use the same exact code in backup_execute.php and backup_scheduled.php to avoid duplicating it in two files !! --- diff --git a/backup/backup_scheduled.php b/backup/backup_scheduled.php index 2c967a7a70..f53be0a55c 100644 --- a/backup/backup_scheduled.php +++ b/backup/backup_scheduled.php @@ -528,6 +528,12 @@ function schedule_backup_course_execute($preferences,$starttime = 0) { $status = backup_scales_info($backup_file,$preferences); } + //Print groups info + if ($status) { + schedule_backup_log($starttime,$preferences->backup_course," groups"); + $status = backup_groups_info($backup_file,$preferences); + } + //Module info, this unique function makes all the work!! //db export and module fileis copy if ($status) {