Subject: [PATCH] Prevent browser timeouts when upgrading grades

From: Chris Bandy <[email-masked]>
Date: Thu, 28 Aug 2008 12:40:27 -0500

---
 mod/assignment/lib.php |    1 +
 mod/quiz/lib.php       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php
index 81de9d8..00e974a 100644
--- a/mod/assignment/lib.php
+++ b/mod/assignment/lib.php
@@ -2195,6 +2195,7 @@ function assignment_update_grades($assignment=null, $userid=0, $nullifnone=true)
                 } else {
                     assignment_grade_item_update($assignment);
                 }
+                echo '          .';
             }
             rs_close($rs);
         }
diff --git a/mod/quiz/lib.php b/mod/quiz/lib.php
index 4aaff52..857331c 100644
--- a/mod/quiz/lib.php
+++ b/mod/quiz/lib.php
@@ -314,6 +314,7 @@ function quiz_update_grades($quiz=null, $userid=0, $nullifnone=true) {
                 } else {
                     quiz_grade_item_update($quiz);
                 }
+                echo '          .';
             }
             rs_close($rs);
         }
-- 
1.5.6.4