Permalink
Browse files

added new gradebook preference for backup silently function to avoid …

…notice errors later in backup process.
  • Loading branch information...
1 parent fa6eb1d commit 68e3ffbbfa92113fb1e23e8edf5537e90d1a453e jmg324 committed Mar 25, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 backup/lib.php
View
@@ -873,6 +873,7 @@ function backup_generate_preferences_artificially($course, $prefs) {
$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;

0 comments on commit 68e3ffb

Please sign in to comment.