mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
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:
parent
d21135ad85
commit
e19d817eb3
3 changed files with 199 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue