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
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue