From: stronk7 Date: Tue, 15 Jul 2003 18:10:15 +0000 (+0000) Subject: Added some flushes to avoid some browsers timeouts X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e487376a8c3c86fa1789e49f32bf4b399197a431;p=moodle.git Added some flushes to avoid some browsers timeouts when calculating what to backup (check phase). --- diff --git a/backup/backuplib.php b/backup/backuplib.php index 5fdba94510..920403e108 100644 --- a/backup/backuplib.php +++ b/backup/backuplib.php @@ -88,6 +88,8 @@ } } } + //Do some output + backup_flush(30); } //Prepare Info @@ -143,6 +145,8 @@ (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 @@ VALUES ('$backup_unique_code','course','$dir')",false); } + //Do some output + backup_flush(30); } }