Now backup of 1.5 gradebooks is working (restore coming soon). Features are:

- It's automatic. No setting for it. Does it sound ok?
 - Any info related to non-exported modules is skipped.
 - Any info related to non-exported users is skipped.
This commit is contained in:
stronk7 2005-04-19 23:21:45 +00:00
parent d21135ad85
commit e19d817eb3
3 changed files with 199 additions and 0 deletions

View file

@ -634,6 +634,12 @@ function schedule_backup_course_execute($preferences,$starttime = 0) {
$status = backup_events_info($backup_file,$preferences);
}
//Print gradebook info
if ($status) {
schedule_backup_log($starttime,$preferences->backup_course," gradebook");
$status = backup_gradebook_info($backup_file,$preferences);
}
//Module info, this unique function makes all the work!!
//db export and module fileis copy
if ($status) {