mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
added new gradebook preference for backup silently function to avoid notice errors later in backup process.
This commit is contained in:
parent
fa6eb1dc57
commit
68e3ffbbfa
@ -873,6 +873,7 @@
|
||||
$preferences->backup_course_files = (isset($prefs['backup_course_files']) ? $prefs['backup_course_files'] : 0);
|
||||
$preferences->backup_site_files = (isset($prefs['backup_site_files']) ? $prefs['backup_site_files'] : 0);
|
||||
$preferences->backup_messages = (isset($prefs['backup_messages']) ? $prefs['backup_messages'] : 0);
|
||||
$preferences->backup_gradebook_history = (isset($prefs['backup_gradebook_history']) ? $prefs['backup_gradebook_history'] : 0);
|
||||
$preferences->backup_course = $course->id;
|
||||
backup_add_static_preferences($preferences);
|
||||
return $preferences;
|
||||
|
Loading…
x
Reference in New Issue
Block a user