Resetting the timout counter to avoid the timeouts reported at http://moodle.org/mod/forum/discuss.php?d=24790#129431

This commit is contained in:
gustav_delius
2005-07-22 20:40:31 +00:00
parent d7387d3c3f
commit ffd834a5c2
+1
View File
@@ -39,6 +39,7 @@ class quiz_report extends quiz_default_report {
foreach ($questions as $question) {
echo '<b>'.get_string('regradingquestion', 'quiz', $question->name).'</b> '.get_string('attempts', 'quiz').": \n";
foreach ($attempts as $attempt) {
set_time_limit(30);
quiz_regrade_question_in_attempt($question, $attempt, $quiz, true);
}
echo '<br/ >';