added new gradebook preference for backup silently function to avoid notice errors later in backup process.

This commit is contained in:
jmg324 2008-03-25 15:40:23 +00:00
parent fa6eb1dc57
commit 68e3ffbbfa

View File

@ -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;