Skip to content
Browse files

Added some flushes to avoid some browsers timeouts

when calculating what to backup (check phase).
  • Loading branch information...
1 parent d246da7 commit e487376a8c3c86fa1789e49f32bf4b399197a431 stronk7 committed Jul 15, 2003
Showing with 6 additions and 0 deletions.
  1. +6 −0 backup/backuplib.php
View
6 backup/backuplib.php
@@ -88,6 +88,8 @@ function user_check_backup($course,$backup_unique_code,$backup_users) {
}
}
}
+ //Do some output
+ backup_flush(30);
}
//Prepare Info
@@ -143,6 +145,8 @@ function user_files_check_backup($course,$backup_unique_code) {
(backup_code, file_type, path, old_id)
VALUES
('$backup_unique_code','user','$dir','$userid')",false);
+ //Do some output
+ backup_flush(30);
}
}
@@ -184,6 +188,8 @@ function course_files_check_backup($course,$backup_unique_code) {
VALUES
('$backup_unique_code','course','$dir')",false);
}
+ //Do some output
+ backup_flush(30);
}
}

0 comments on commit e487376

Please sign in to comment.
Something went wrong with that request. Please try again.