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

@ -270,6 +270,14 @@
}
}
//Print gradebook info
if ($status) {
echo "<li>".get_string("writinggradebookinfo").'</li>';
if (!$status = backup_gradebook_info($backup_file,$preferences)) {
notify("An error occurred while backing up gradebook");
}
}
//Module info, this unique function makes all the work!!
//db export and module fileis copy
if ($status) {