Permalink
Browse files

Fixed backup problem for scorm module. Now, it includes needed files …

…in moddata/scorm. even though the backup is done without user data and files
  • Loading branch information...
1 parent 4afc877 commit d58e4f8a04ff3736bdad87707eace1ad15d0675b csantossaenz committed Mar 28, 2007
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/scorm/backuplib.php
View
@@ -79,9 +79,8 @@ function scorm_backup_one_mod($bf,$preferences,$scorm) {
if ($status) {
if (backup_userdata_selected($preferences,'scorm',$scorm->id)) {
$status = backup_scorm_scoes_track($bf,$preferences,$scorm->id);
- $status = backup_scorm_files_instance($bf,$preferences,$scorm->id);
}
-
+ $status = backup_scorm_files_instance($bf,$preferences,$scorm->id);
}
//End mod
$status =fwrite ($bf,end_tag("MOD",3,true));

0 comments on commit d58e4f8

Please sign in to comment.