Skip to content

Commit

Permalink
Fixed backup problem for scorm module. Now, it includes needed files …
Browse files Browse the repository at this point in the history
…in moddata/scorm. even though the backup is done without user data and files
  • Loading branch information
csantossaenz committed Mar 28, 2007
1 parent 4afc877 commit d58e4f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mod/scorm/backuplib.php
Expand Up @@ -79,9 +79,8 @@ function scorm_backup_one_mod($bf,$preferences,$scorm) {
if ($status) { if ($status) {
if (backup_userdata_selected($preferences,'scorm',$scorm->id)) { if (backup_userdata_selected($preferences,'scorm',$scorm->id)) {
$status = backup_scorm_scoes_track($bf,$preferences,$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 //End mod
$status =fwrite ($bf,end_tag("MOD",3,true)); $status =fwrite ($bf,end_tag("MOD",3,true));
Expand Down

0 comments on commit d58e4f8

Please sign in to comment.