Update test.php with a case for testing course_copy_schedule_backup_launch_backup().
Update require*() calls to use backuplib-hacks.php.
Remove the deprecated generate_backup_prefs() method.
Deprecate the moodle_backup_checks() method, and call the new course_copy_schedule_backup_launch_backup() function in backuplib-hacks.php.
Add a $flushcache param to match_course_module() to enable lookups of new data.
Use the new $flushcache param of match_course_module().
Call a function to get the path to a backup file, instead of composing a string in-place.